From f53768612b1e2268697b5444e502032ef9f3fb3c Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Tue, 23 May 2023 23:45:12 -0400 Subject: copying from old repo --- extension/workflows/main.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 extension/workflows/main.yml (limited to 'extension/workflows') diff --git a/extension/workflows/main.yml b/extension/workflows/main.yml new file mode 100644 index 00000000..95dc2465 --- /dev/null +++ b/extension/workflows/main.yml @@ -0,0 +1,30 @@ +# GitHub Actions Workflow to compile the extension and `npm run package` + +name: Build + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 19.0.0 + - run: npm ci + - run: npm run clientgen + - run: npm run compile + - run: cd react-app && npm install && npm run build + - run: npm run package + - name: Save build as artifact + uses: actions/upload-artifact@v3 + with: + name: packaged-extension + path: build/*.vsix -- cgit v1.2.3-70-g09d2