Skip to content

chore(tests): pro 168 refactor tests #105

chore(tests): pro 168 refactor tests

chore(tests): pro 168 refactor tests #105

Workflow file for this run

name: Release CI
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
on:
push:
branches: [main, next, beta]
pull_request:
branches: [main, next, beta]
jobs:
publish:
name: Publish to npm
runs-on: ubuntu-latest
environment: production
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release@22.0.12