Skip to content

Commit bd623c7

Browse files
committed
WIP combine windows / unix tests
1 parent 3da490e commit bd623c7

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/stable-tests.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Stable Tests
2+
on:
3+
push:
4+
pull_request:
5+
schedule:
6+
- cron: '0 */12 * * *'
7+
8+
jobs:
9+
locked:
10+
name: Locked Dependencies
11+
runs-on: ${{ matrix.os }}
12+
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
os: [ubuntu-latest, windows-2019]
17+
node-versions: [ '10', '12', '14' ]
18+
19+
steps:
20+
- name: Checkout
21+
uses: actions/[email protected]
22+
23+
- name: Node ${{matrix.node-versions}}
24+
uses: actions/setup-node@v2
25+
with:
26+
node-version: ${{matrix.node-versions}}
27+
28+
- name: Install Yarn Dependencies
29+
run: yarn install
30+
if: matrix.node-versions != 10
31+
32+
- name: Install Yarn Dependencies Ignore Engines (Node 10)
33+
run: yarn install --ignore-engines
34+
if: matrix.node-versions == 10
35+
36+
- name: Show Installed Versions
37+
run: yarn list --depth=0
38+
39+
- name: Run Tests
40+
run: yarn test

0 commit comments

Comments
 (0)