We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cf0d61 commit a996878Copy full SHA for a996878
1 file changed
.github/workflows/publish.yml
@@ -8,8 +8,7 @@ on:
8
types: [ created ]
9
10
jobs:
11
- publish:
12
- needs: build
+ build:
13
runs-on: ubuntu-latest
14
steps:
15
- uses: actions/checkout@v3
@@ -19,6 +18,13 @@ jobs:
19
18
registry-url: https://registry.npmjs.org/
20
- run: npm i
21
- run: npm run build
+
22
23
+ publish:
24
+ needs: build
25
+ runs-on: ubuntu-latest
26
+ steps:
27
+ - uses: actions/checkout@v3
28
- run: npm version ${{ github.event.release.tag_name }} --no-git-tag-version
29
- run: git add .
30
- run: git commit -m "Release v${{ github.event.release.tag_name }}"
0 commit comments