Skip to content

Commit 015eb93

Browse files
committed
chore: add yarn install to action
1 parent 17b9368 commit 015eb93

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ jobs:
1616
name: Cancel previous runs
1717
runs-on: ubuntu-latest
1818
steps:
19-
- name: Cancel Previous Runs
20-
uses: styfle/cancel-workflow-action@ad6cb1b847ffb509a69b745b6ee2f1d14dfe14b8
19+
- uses: styfle/cancel-workflow-action@ad6cb1b847ffb509a69b745b6ee2f1d14dfe14b8
2120
with:
2221
access_token: ${{ github.token }}
2322

@@ -26,12 +25,12 @@ jobs:
2625
runs-on: ubuntu-latest
2726
needs: [pre_run]
2827
steps:
29-
- name: Checkout repo
30-
uses: actions/checkout@v3
28+
- uses: actions/checkout@v3
3129
with:
3230
token: ${{ secrets.GH_TOKEN }}
33-
- name: Semantic release
34-
uses: cycjimmy/semantic-release-action@v3
31+
- uses: actions/setup-node@v3
32+
- run: yarn install --frozen-lockfile
33+
- uses: cycjimmy/semantic-release-action@v3
3534
env:
3635
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
3736
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)