Skip to content

add missing pipe

add missing pipe #21

Workflow file for this run

name: publish
on:
push:
branches:
- '*'
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: dependencies
run:
corepack enable
pnpm i
- run: pnpm lint:ci
publish-npm:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- name: dependencies
run: |
corepack enable
pnpm i
- run: |
npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
pnpm publish