Skip to content

Merge pull request #80 from jahusa02/feature/node-lts #51

Merge pull request #80 from jahusa02/feature/node-lts

Merge pull request #80 from jahusa02/feature/node-lts #51

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@v4
with:
version: 'latest'
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: pnpm install --prefer-offline --frozen-lockfile
- name: Build module
run: pnpm exec nx run ngx-iban:build
- name: Publish package
run: |
cp -v README.md LICENSE.md ./dist/ngx-iban
pnpm publish ./dist/ngx-iban --access public --no-git-checks --force
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}