-
Notifications
You must be signed in to change notification settings - Fork 13
33 lines (29 loc) · 718 Bytes
/
Copy pathmain.yml
File metadata and controls
33 lines (29 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: CI
on:
push:
branches:
- master
- 'v*' # older version branches
tags:
- '*'
pull_request: {}
jobs:
test:
timeout-minutes: 5
name: Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: ['16', '18', '20']
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
with:
node-version: ${{ matrix.node }}
- name: yarn --frozen-lockfile
run: YARN_IGNORE_NODE=1 yarn --frozen-lockfile
- run: YARN_IGNORE_NODE=1 yarn build
- run: YARN_IGNORE_NODE=1 yarn test
- run: YARN_IGNORE_NODE=1 yarn test:browser