Skip to content

Release 2.1.0

Release 2.1.0 #34

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: PublishToGithubPackages
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
release:
types: [published]
jobs:
publish-gpr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
registry-url: https://npm.pkg.github.com/
scope: '@educorvi'
node-version: 18
- run: npm ci
- run: npm run build
- run: echo registry=https://npm.pkg.github.com/educorvi >> .npmrc
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.PUBLISH_GITHUB_PACKAGE_TOKEN}}