Skip to content

Commit c4557ac

Browse files
committed
💚 Add build step
1 parent 1baa6bd commit c4557ac

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ jobs:
2727
# run: echo "::set-output name=dir::$(yarn cache dir)"
2828

2929
- name: 🧶 Get NPM cache
30-
uses: actions/cache@v2
30+
uses: actions/cache@v3
3131
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
3234
with:
3335
path: ~/.npm
3436
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
@@ -40,6 +42,9 @@ jobs:
4042
- name: 📦 Install dependencies
4143
run: npm install --frozen-lockfile
4244

45+
- name: 👷 Build
46+
run: npm build
47+
4348
- name: 🚀 Publish release
4449
env:
4550
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)