There was an error while loading. Please reload this page.
1 parent 2719ded commit ebba6bcCopy full SHA for ebba6bc
.github/workflows/publish.yml
@@ -32,8 +32,12 @@ jobs:
32
node-version: ${{ matrix.node-version }}
33
34
- name: Increment project version
35
+ run: npm version patch
36
+
37
+ - name: Build project
38
run: |
- npm version patch
39
+ npm ci
40
+ npm run build
41
42
- name: Commit changes
43
@@ -46,11 +50,6 @@ jobs:
46
50
with:
47
51
github_token: ${{ secrets.GITHUB_TOKEN }}
48
52
49
- - name: Build project
- run: |
- npm ci
- npm run build
53
-
54
- name: Publish project
55
56
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
0 commit comments