Skip to content

Commit 1ab4fc7

Browse files
authored
chore(ci): fix pipeline (#32)
* move build to publish job * 1.1.1
1 parent ea8509e commit 1ab4fc7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
node-version: 16
1818
- run: npm ci
1919
- run: npm test
20-
- run: npm run build:prod
2120

2221
publish-npm:
2322
needs: build
@@ -29,6 +28,7 @@ jobs:
2928
node-version: 16
3029
registry-url: https://registry.npmjs.org/
3130
- run: npm ci
31+
- run: npm run build:prod
3232
- run: npm publish
3333
env:
3434
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dist",
77
"src/scss/datepicker.scss"
88
],
9-
"version": "1.1.0",
9+
"version": "1.1.1",
1010
"description": "GOV.UK datepicker",
1111
"scripts": {
1212
"build": "webpack --config ./bin/webpack.dev.js",

0 commit comments

Comments
 (0)