|
17 | 17 | runs-on: ubuntu-latest |
18 | 18 | steps: |
19 | 19 | - uses: actions/checkout@v2 |
| 20 | + - uses: actions/setup-node@v4 |
| 21 | + with: |
| 22 | + node-version: 12.x |
| 23 | + cache: yarn |
20 | 24 | - run: yarn install --frozen-lockfile --non-interactive |
21 | 25 | - run: yarn lint:js |
22 | 26 |
|
|
30 | 34 |
|
31 | 35 | steps: |
32 | 36 | - uses: actions/checkout@v2 |
| 37 | + - uses: actions/setup-node@v4 |
33 | 38 | with: |
34 | 39 | node-version: ${{ matrix.node-version }} |
| 40 | + cache: yarn |
35 | 41 | - run: yarn install --frozen-lockfile --non-interactive |
36 | 42 | - run: yarn test |
37 | 43 |
|
|
45 | 51 |
|
46 | 52 | steps: |
47 | 53 | - uses: actions/checkout@v2 |
| 54 | + - uses: actions/setup-node@v4 |
48 | 55 | with: |
49 | 56 | node-version: ${{ matrix.node-version }} |
| 57 | + cache: yarn |
50 | 58 | - run: yarn install --frozen-lockfile --non-interactive |
51 | 59 | - run: PREFER_NATIVE=true yarn test |
52 | 60 |
|
|
60 | 68 |
|
61 | 69 | steps: |
62 | 70 | - uses: actions/checkout@v2 |
| 71 | + - uses: actions/setup-node@v4 |
63 | 72 | with: |
64 | 73 | node-version: ${{ matrix.node-version }} |
| 74 | + cache: yarn |
65 | 75 | - run: yarn install --frozen-lockfile --non-interactive |
66 | 76 | - run: NATIVE_PROMISE=true yarn test |
67 | 77 |
|
|
75 | 85 |
|
76 | 86 | steps: |
77 | 87 | - uses: actions/checkout@v2 |
| 88 | + - uses: actions/setup-node@v4 |
78 | 89 | with: |
79 | 90 | node-version: ${{ matrix.node-version }} |
| 91 | + cache: yarn |
80 | 92 | - run: yarn install --frozen-lockfile --non-interactive |
81 | 93 | - run: yarn run test:node |
82 | 94 |
|
@@ -105,6 +117,7 @@ jobs: |
105 | 117 | allow-failure: true |
106 | 118 | steps: |
107 | 119 | - uses: actions/checkout@v2 |
| 120 | + - uses: actions/setup-node@v4 |
108 | 121 | with: |
109 | 122 | node-version: 12.x |
110 | 123 | - name: install dependencies |
|
0 commit comments