Skip to content

fix: sx utils

fix: sx utils #5

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- master
jobs:
publish-npm:
name: Publish packages
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup PNPM
uses: pnpm/[email protected]
with:
version: 8.1.1
- name: Setup Node.js
uses: actions/setup-node@v2
with:
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Publish
run: pnpm dlx semantic-release --branches master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}