Skip to content

Commit 6b9c56c

Browse files
committed
Fixed publish script
1 parent ff5a839 commit 6b9c56c

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/npm-publish-stable.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
runs-on: ubuntu-latest
4646
steps:
4747
- uses: actions/checkout@v3
48-
- name: Cache node modules
48+
- name: 💾 Fetch Cache
4949
id: cache-yarn
5050
uses: actions/cache@v3
5151
env:
@@ -57,7 +57,11 @@ jobs:
5757
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock', '**/package.json') }}
5858
restore-keys: |
5959
${{ runner.os }}-yarn-
60-
- run: yarn test
60+
- name: 🔨 Build
61+
run: yarn build
62+
63+
- name: 🧪 Test
64+
run: yarn test
6165

6266
publish-gpr:
6367
needs: build
@@ -80,6 +84,10 @@ jobs:
8084
restore-keys: |
8185
${{ runner.os }}-yarn-
8286
83-
- run: yarn publish-stable
87+
- name: 🔨 Build
88+
run: yarn build
89+
90+
- run: yarn release-stable
91+
name: 🚀 Release Stable
8492
env:
8593
NODE_AUTH_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}}

0 commit comments

Comments
 (0)