Skip to content

Commit

Permalink
Pipeline tested and passing. Changing back to prod config
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardScull committed Dec 18, 2024
1 parent 18f56b6 commit 2af3c27
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish to NPM
on:
release:
types:
- prereleased
- published

jobs:
publish:
Expand Down Expand Up @@ -35,8 +35,8 @@ jobs:
asset_name: nhsapp-frontend-${{ steps.get_version.outputs.VERSION }}.zip
asset_content_type: application/zip

# - name: Publish NPM package
# run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
# IS_PRERELEASE: ${{github.event.release.prerelease}}
- name: Publish NPM package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
IS_PRERELEASE: ${{github.event.release.prerelease}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nhsapp-frontend",
"version": "2.2.0-test",
"version": "2.2.0",
"description": "A CSS library built on top of nhsuk-frontend providing styles for the NHS App.",
"main": "index.js",
"type": "module",
Expand Down

0 comments on commit 2af3c27

Please sign in to comment.