Skip to content

Commit

Permalink
Fix publish workflow (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
karniv00l committed Sep 26, 2021
1 parent a6e38f7 commit 28dcbe9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,19 @@ on:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm ci
- run: npm run build
- run: npm test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -19,9 +31,10 @@ jobs:
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mlg-converter",
"version": "0.5.0",
"version": "0.5.1",
"license": "MIT",
"description": "MLG log files converter",
"author": "Piotr Rogowski <[email protected]>",
Expand Down

0 comments on commit 28dcbe9

Please sign in to comment.