Skip to content

Commit

Permalink
run on release again for now
Browse files Browse the repository at this point in the history
  • Loading branch information
beatthat committed Feb 18, 2020
1 parent 7468c88 commit 40581b6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 31 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/gpr-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: publish package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo ${{github.ref}}
- run: export v="${{github.ref}}" && echo "${v##*/}"
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
# - run: npm test
gpr-publish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
scope: "@beatthat"
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
31 changes: 0 additions & 31 deletions .github/workflows/npmpublish.yml

This file was deleted.

0 comments on commit 40581b6

Please sign in to comment.