Skip to content

Commit bf884a6

Browse files
Fixed publishing release
1 parent c369f80 commit bf884a6

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,7 @@ on:
88
types: [ created ]
99

1010
jobs:
11-
build:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
16-
with:
17-
node-version: 18
18-
registry-url: https://registry.npmjs.org/
19-
- run: npm i
20-
- run: npm run build
21-
2211
publish:
23-
needs: build
2412
runs-on: ubuntu-latest
2513
steps:
2614
- uses: actions/checkout@v3
@@ -32,6 +20,8 @@ jobs:
3220
run: |
3321
git config --local user.email "action@github.com"
3422
git config --local user.name "GitHub Action"
23+
- run: npm i
24+
- run: npm run build
3525
- run: npm version ${{ github.event.release.tag_name }} --no-git-tag-version
3626
- run: git add .
3727
- run: git commit -m "Release ${{ github.event.release.tag_name }}"

0 commit comments

Comments
 (0)