Skip to content

Commit

Permalink
Merge pull request mintexists#7 from jukefr/master
Browse files Browse the repository at this point in the history
fix(pee): Move npm release step to same job cuz i cant be bothered and bump version to check it works
  • Loading branch information
mintexists authored Mar 30, 2022
2 parents 9ddb3a1 + 9a1befd commit 9c734a9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 23 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/publish.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,18 @@ jobs:
body: Release ${{ needs.check_versions_job.outputs.version_output }}
draft: false
prerelease: false
release_npm_step:
runs-on: ubuntu-latest
needs: [check_versions_job, release_on_bump]
if: needs.check_versions_job.outputs.continue_output == 'true'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16 # current LTS
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm publish --access public
env:
# you have to set this in the github repository settings, you get it from the npm package settings
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pee.js",
"version": "1.1.1",
"version": "1.1.2",
"description": "A javascript Library for leaking memory",
"type": "module",
"main": "pee.cjs",
Expand Down

0 comments on commit 9c734a9

Please sign in to comment.