Skip to content

Update package.json

Update package.json #4

name: Node.js Package
on:
push:
branches: ["prod"]
pull_request:
branches: ["prod"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses : actions/checkout@v2
- uses : actions/setup-node@v1
with :
node-version : 16
registry-url : https://npm.pkg.github.com
scope : '@Odyssee-Software'
- run: npm install --force
- run: npx --yes tsc
- run: npm publish
env :
NODE_AUTH_TOKEN : ${{secrets.PUBLISH_TOKEN}}