Bump version for release #100
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
# Build and test script to run on PR and main build | |
name: Build and Test | |
permissions: | |
deployments: write | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
env: | |
NODE_VERSION: 18.15.0 | |
NPM_VERSION: 9.5.0 | |
IS_CI: 1 | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node ${{env.NODE_VERSION}} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{env.NODE_VERSION}} | |
- run: npm i -g npm@${{env.NPM_VERSION}} | |
name: npm install [email protected] | |
- run: npm install | |
name: npm install | |
- run: npm run compile | |
name: npm run compile | |
- run: npm run compile-web | |
name: npm run compile-web | |
- run: npm run compile-webviews | |
name: npm run compile-webviews | |
test: | |
timeout-minutes: 30 | |
name: Tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node ${{env.NODE_VERSION}} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{env.NODE_VERSION}} | |
- run: npm i -g npm@${{env.NPM_VERSION}} | |
name: npm install [email protected] | |
- run: npm install | |
name: npm install | |
- run: npm run compile | |
name: npm run compile | |
- run: npm run compile-tests | |
name: npm run compile-tests | |
- name: Run tests using xvfb | |
env: | |
DISPLAY: 10 | |
uses: GabrielBB/[email protected] | |
id: test_id | |
with: | |
run: npm run test |