Merge branch 'components-in-the-ui' #151
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: VSCode Extension CI | |
on: | |
pull_request: | |
push: | |
branches: ['main'] | |
jobs: | |
vscodeci: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: vscode | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Check if package-lock.json is up to date | |
run: npx --yes [email protected] | |
- run: npm install | |
- run: npm run lint | |
- run: xvfb-run -a npm test | |
if: runner.os == 'Linux' | |
- run: npm test | |
if: runner.os != 'Linux' | |
- run: npx vsce package | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
path: vscode/*.vsix | |
retention-days: 2 | |
if-no-files-found: error |