Skip to content

Commit

Permalink
Update felix-npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix-Cordero authored Dec 20, 2022
1 parent 9a895b1 commit 8831e66
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/felix-npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
name: Pull request labeler
on: [ pull_request_target ]
name: Node.js Package

permissions:
contents: read
pull-requests: write
on:
push:
branches:
- master

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
publish-gpr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-vwerion: 12
regitry-url: https//npm.pkg.github.com/
scope: '@azurewebsite'
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 8831e66

Please # to comment.