Skip to content

Commit a996878

Browse files
Update publish.yml
1 parent 7cf0d61 commit a996878

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/publish.yml

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

1010
jobs:
11-
publish:
12-
needs: build
11+
build:
1312
runs-on: ubuntu-latest
1413
steps:
1514
- uses: actions/checkout@v3
@@ -19,6 +18,13 @@ jobs:
1918
registry-url: https://registry.npmjs.org/
2019
- run: npm i
2120
- run: npm run build
21+
22+
23+
publish:
24+
needs: build
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v3
2228
- run: npm version ${{ github.event.release.tag_name }} --no-git-tag-version
2329
- run: git add .
2430
- run: git commit -m "Release v${{ github.event.release.tag_name }}"

0 commit comments

Comments
 (0)