We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1baa6bd commit c4557acCopy full SHA for c4557ac
.github/workflows/release.yml
@@ -27,8 +27,10 @@ jobs:
27
# run: echo "::set-output name=dir::$(yarn cache dir)"
28
29
- name: 🧶 Get NPM cache
30
- uses: actions/cache@v2
+ uses: actions/cache@v3
31
id: cache-npm # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
32
+ env:
33
+ cache-name: cache-node-modules
34
with:
35
path: ~/.npm
36
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
@@ -40,6 +42,9 @@ jobs:
40
42
- name: 📦 Install dependencies
41
43
run: npm install --frozen-lockfile
44
45
+ - name: 👷 Build
46
+ run: npm build
47
+
48
- name: 🚀 Publish release
49
env:
50
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments