Skip to content

Commit

Permalink
fix: release process (#14)
Browse files Browse the repository at this point in the history
* support piper-version master

* fix release workflow
  • Loading branch information
CCFenner authored Jul 19, 2021
1 parent b88b62d commit 2b1a0d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

jobs:
build:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -20,6 +21,7 @@ jobs:
- run: npm run lint

publish-gpr:
name: Release
needs: build
runs-on: ubuntu-latest
steps:
Expand All @@ -30,7 +32,7 @@ jobs:
cache: 'npm'
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm build
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 2b1a0d9

Please sign in to comment.