Skip to content

CI TEST

CI TEST #2

Workflow file for this run

name: Publish
on:
pull_request:
types: [closed]
branches:
- main
jobs:
publish-packages:
name: Publish packages to NPM
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: main
fetch-depth: '0'
token: ${{ secrets.GH_TOKEN }}
- name: Set node version
uses: actions/setup-node@v3
with:
node-version: 20
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
branches: 'main'