Skip to content

publish on github

publish on github #18

Workflow file for this run

name: publish on github
on:
release:
types:
- created
jobs:
publish-gpr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
scope: "@ahmadmubarak98"
- run: npm install
- run: npm run test
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}