-
Notifications
You must be signed in to change notification settings - Fork 33
46 lines (37 loc) · 929 Bytes
/
ci.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
name: CI
on:
push:
branches:
- main
- master
- 'v*'
# always run CI for tags
tags:
- '*'
pull_request: {}
concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
test:
name: "Tests - ${{ matrix.os }} - Node ${{ matrix.node-version }}"
runs-on: "${{ matrix.os }}-latest"
strategy:
matrix:
os: [ubuntu]
node-version: ['10.x', '12.x']
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v3.0.0-beta.1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile --non-interactive
- run: yarn test
floating-dependencies:
name: "Floating Deps"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v3.0.0-beta.1
- run: yarn install --no-lockfile
- run: yarn test