Skip to content

Commit

Permalink
release: v0.0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
NickKelly1 committed Jul 30, 2021
1 parent cc7269c commit 8a27677
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
node-version: 14
- run: npm ci
- run: npm test
- run: npm run build
publish-npm:
needs: build
runs-on: ubuntu-latest
Expand All @@ -29,6 +28,7 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm run publish:prepare
- run: npm publish ./dist --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"test": "jest -c config/jest.config.ts",
"build": "rimraf dist && rollup -c config/rollup.config.js",
"test:watch": "jest -c config/jest.config.ts --watch",
"prepublishOnly": "cp package.json dist/ && cp LICENSE dist/"
"publish:prepare": "cp package.json dist/ && cp LICENSE dist/"
},
"devDependencies": {
"@jest/types": "^26.6.2",
Expand Down

0 comments on commit 8a27677

Please sign in to comment.