Skip to content

Merge branch 'main' of datails.github.com:nest4it/api-token-module #23

Merge branch 'main' of datails.github.com:nest4it/api-token-module

Merge branch 'main' of datails.github.com:nest4it/api-token-module #23

Workflow file for this run

name: Release
on:
push:
branches:
- main
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for tags
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org/'
- name: Install dependencies
run: npm ci
- name: Build the project
run: npm run build
- name: Publish with Semantic Release
run: npm run release