Skip to content

Commit ebba6bc

Browse files
Michael Havey - FitzgeraldMichael Havey - Fitzgerald
authored andcommitted
chore: ensure updated build is pushed with commit
1 parent 2719ded commit ebba6bc

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@ jobs:
3232
node-version: ${{ matrix.node-version }}
3333

3434
- name: Increment project version
35+
run: npm version patch
36+
37+
- name: Build project
3538
run: |
36-
npm version patch
39+
npm ci
40+
npm run build
3741
3842
- name: Commit changes
3943
run: |
@@ -46,11 +50,6 @@ jobs:
4650
with:
4751
github_token: ${{ secrets.GITHUB_TOKEN }}
4852

49-
- name: Build project
50-
run: |
51-
npm ci
52-
npm run build
53-
5453
- name: Publish project
5554
run: |
5655
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc

0 commit comments

Comments
 (0)