build(deps): bump aiohttp from 3.9.0 to 3.9.4 in /server #547
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
name: vscode extension | |
on: [push] | |
env: | |
NODE_VERSION: "16.x" | |
PYTHON_VERSION: "3.8" | |
jobs: | |
build-and-test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Use Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install Python ${{ env.PYTHON_VERSION }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Install xvfb | |
run: sudo apt-get install xvfb | |
- name: npm install and compile | |
run: | | |
npm install | |
npm run compile | |
- name: npm audit | |
run: | | |
npm audit | |
cd client && npm audit | |
- name: lint | |
run: npm run lint | |
- name: test:syntax | |
run: npm run test:syntax | |
- name: run end to end test | |
run: xvfb-run npm run test | |
- name: build extension package | |
run: npm run build package | |
- name: List files in extension | |
run: npx vsce ls | |
- name: sanity check extension content | |
run: | | |
npx vsce ls | grep package.json | |
npx vsce ls | grep out/extension.js | |
npx vsce ls | grep server/buildoutls/buildout.py | |
- name: Upload extension as a github action artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: extension-vsix | |
path: "*.vsix" | |
if-no-files-found: error |