Skip to content

Commit

Permalink
try different action
Browse files Browse the repository at this point in the history
  • Loading branch information
Shelob9 committed Feb 14, 2022
1 parent 5994dcd commit 01e2a2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 21 deletions.
26 changes: 6 additions & 20 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,15 @@ on:
types: [created]

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

publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: JS-DevTools/npm-publish@v1
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
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": "plugin-machine",
"version": "0.5.10",
"version": "0.5.11",
"description": "A CLI for Plugin Machine",
"homepage": "https://pluginmachine.com/cli",
"repository": "github:imaginarymachines/plugin-machine-cli",
Expand Down

0 comments on commit 01e2a2e

Please sign in to comment.