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 c369f80 commit bf884a6Copy full SHA for bf884a6
1 file changed
.github/workflows/publish.yml
@@ -8,19 +8,7 @@ on:
8
types: [ created ]
9
10
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
-
22
publish:
23
- needs: build
24
runs-on: ubuntu-latest
25
steps:
26
- uses: actions/checkout@v3
@@ -32,6 +20,8 @@ jobs:
32
run: |
33
git config --local user.email "action@github.com"
34
git config --local user.name "GitHub Action"
+ - run: npm i
+ - run: npm run build
35
- run: npm version ${{ github.event.release.tag_name }} --no-git-tag-version
36
- run: git add .
37
27
- run: git commit -m "Release ${{ github.event.release.tag_name }}"
0 commit comments