Skip to content

Commit 3877fd4

Browse files
committed
low depends
1 parent d0370c9 commit 3877fd4

File tree

3 files changed

+48
-2
lines changed

3 files changed

+48
-2
lines changed

.github/workflows/high-depends.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
locked:
10-
name: ${{ matrix.node-versions }} - ${{ matrix.os }}
10+
name: Node ${{ matrix.node-versions }} - ${{ matrix.os }}
1111
runs-on: ${{ matrix.os }}
1212

1313
strategy:

.github/workflows/low-depends.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Low Dependencies
2+
on:
3+
push:
4+
pull_request:
5+
schedule:
6+
- cron: '0 */12 * * *'
7+
8+
jobs:
9+
locked:
10+
name: Node ${{ matrix.node-versions }} - ${{ matrix.os }}
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: Remove Lock File
29+
run: rm yarn.lock
30+
31+
- name: Force Lowest Dependencies
32+
run: node ./scripts/force-lowest-dependencies
33+
34+
- name: Install Yarn Dependencies
35+
run: yarn install
36+
if: matrix.node-versions != 10
37+
38+
- name: Install Yarn Dependencies Ignore Engines (Node 10)
39+
run: yarn install --ignore-engines
40+
if: matrix.node-versions == 10
41+
42+
- name: Show Installed Versions
43+
run: yarn list --depth=0
44+
45+
- name: Run Tests
46+
run: yarn test

.github/workflows/stable-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
locked:
10-
name: ${{ matrix.node-versions }} - ${{ matrix.os }}
10+
name: Node ${{ matrix.node-versions }} - ${{ matrix.os }}
1111
runs-on: ${{ matrix.os }}
1212

1313
strategy:

0 commit comments

Comments
 (0)