diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-05-23 23:45:12 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-05-23 23:45:12 -0400 |
commit | 27ecedb02ef79ce53bf533e016b00462c44541be (patch) | |
tree | 402305113b6f04c3e3b3563b68d32de5ff1c69c8 /extension/workflows | |
download | sncontinue-27ecedb02ef79ce53bf533e016b00462c44541be.tar.gz sncontinue-27ecedb02ef79ce53bf533e016b00462c44541be.tar.bz2 sncontinue-27ecedb02ef79ce53bf533e016b00462c44541be.zip |
copying from old repo
Diffstat (limited to 'extension/workflows')
-rw-r--r-- | extension/workflows/main.yml | 30 |
1 files changed, 30 insertions, 0 deletions
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 |