feat: continuous deployment #115
Workflow file for this run
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
- name: Install pnpm | |
run: npm install -g [email protected] | |
- name: Run unit tests | |
run: npm run unit:test | |
- name: Run integration tests | |
run: xvfb-run -a npm test | |
- name: Install vcse | |
run: npm install -g @vscode/vsce | |
- name: Install dependencies | |
run: npm ci | |
- name: Run packge | |
run: vsce package |