Skip to content

Commit

Permalink
Create action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzadamodassir authored Jan 24, 2024
1 parent 0a7622c commit b38a58e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build and Deploy

on:
push:
branches:
- main

jobs:
publish-gpr:
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: '@jqrony'
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.MY_GITHUB_TOKEN}}

0 comments on commit b38a58e

Please sign in to comment.