Skip to content

WIP

WIP #40

Workflow file for this run

name: publish
on:
push:
tags:
- '**'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 'latest'
run_install: true
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/iron'
cache: 'pnpm'
- name: Build module
run: |
pnpm exec nx run ngx-iban:build
cp -v README.md LICENSE.md ./dist/ngx-iban
- name: Publish package
run: pnpm publish --no-git-checks ./dist/ngx-iban
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}