Skip to content

1.1.0

1.1.0 #2

Workflow file for this run

name: Publish
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: "https://registry.npmjs.org"
cache: pnpm
- run: pnpm install
- run: pnpm build
- name: Check Package
run: |
npx publint
npx @arethetypeswrong/cli --pack . --format table
- run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Sync to npmmirror
run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/uni-types/sync"