Skip to content

chore: construct workflow #6

chore: construct workflow

chore: construct workflow #6

Workflow file for this run

name: Registry
on:
push:
branches:
- main
- ci/*
- feature/*
- test/*
jobs:
publish-gpr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
registry-url: 'https://npm.pkg.github.com/'
scope: 'surelle-ha'
- run: npm install --legacy-peer-deps
- run: npm install --save-dev @types/node
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}