Skip to content

Merge pull request #15 from vcian/feature/nestjs #7

Merge pull request #15 from vcian/feature/nestjs

Merge pull request #15 from vcian/feature/nestjs #7

Workflow file for this run

name: NPM Publish
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Publish to npm
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}