Skip to content

Commit fe7c043

Browse files
committed
Revert "Factor out the bootstrapping steps into a reusable action (#188)"
This reverts the previous two commits, because I learned the hard way that actions cannot be composed out of other actions.
1 parent 9f9f7d3 commit fe7c043

2 files changed

Lines changed: 21 additions & 34 deletions

File tree

.github/actions/bootstrap/action.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,28 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v2
21-
- uses: ./.github/actions/bootstrap
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v1
2223
with:
2324
node-version: ${{ matrix.node-version }}
25+
- name: Configure yarn cache path
26+
run: yarn config set cache-folder ~/.yarn-cache
27+
- name: Restore yarn cache
28+
uses: actions/cache@v2
29+
with:
30+
path: ~/.yarn-cache
31+
key: yarn-cache-${{ matrix.node-version }}
32+
restore-keys: |
33+
yarn-cache-
34+
- name: Restore node_modules
35+
uses: actions/cache@v2
36+
with:
37+
path: node_modules
38+
key: node-modules-${{ matrix.node-version }}-${{ hashFiles('yarn.lock') }}
39+
restore-keys: |
40+
node-modules-${{ matrix.node-version }}-
41+
node-modules-
42+
- name: Install dependencies
43+
run: yarn
2444
- name: Run linter, concat, minifier and tests
2545
run: yarn dist

0 commit comments

Comments
 (0)