Prepare v10.0.0-beta.0
for release
#627
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: Tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
max-parallel: 4 | |
matrix: | |
node-version: [16, 18, 20] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# Workaround for some `yarn` nonsense, see: | |
# https://github.com/yarnpkg/yarn/issues/6312#issuecomment-429685210 | |
- name: Install Dependencies | |
run: yarn install --network-concurrency 1 | |
- name: Build All | |
run: yarn build:prod | |
- name: Run Node Tests | |
run: yarn test:node | |
- name: Run Browser Tests | |
run: yarn test:browser | |
- name: Run Linter Checks | |
run: yarn lint && (git diff-index --quiet HEAD; git diff) |