Merge branch 'master' into waiton

This commit is contained in:
Daniel Imms
2023-08-22 06:58:01 -07:00
committed by GitHub
4 changed files with 20 additions and 4 deletions
+8 -2
View File
@@ -9,6 +9,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
@@ -55,6 +56,7 @@ jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
@@ -63,13 +65,16 @@ jobs:
node-version: 18.x
cache: 'yarn'
- name: Install dependencies
run: yarn --frozen-lockfile
run: |
yarn --frozen-lockfile
yarn install-addons
- name: Lint code
run: yarn lint
- name: Lint API
run: yarn lint-api
unit-tests:
timeout-minutes: 20
strategy:
matrix:
node-version: [16, 18]
@@ -104,9 +109,10 @@ jobs:
run: yarn test-unit --forbid-only
integration-tests:
timeout-minutes: 20
strategy:
matrix:
node-version: [18]
node-version: [18] # just one as integration tests are about testing in browser
runs-on: [ubuntu, windows] # macos is flaky
browser: [chromium, firefox]
runs-on: ${{ matrix.runs-on }}-latest