mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00

git-subtree-dir: _regroup_monorepo/express-partial-content git-subtree-mainline: 7349176c988df849f7f1cf46f22d48d6b04597e0 git-subtree-split: b80bfb7ca44c16bd5b747362ac2f53ece911b225
26 lines
761 B
YAML
26 lines
761 B
YAML
name: Release
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
jobs:
|
|
publish-package:
|
|
name: Publish package
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
registry-url: 'https://registry.npmjs.org'
|
|
- name: Set up yarn with corepack
|
|
run: |
|
|
corepack enable &&
|
|
corepack install
|
|
- name: Install dependencies
|
|
run: yarn install --frozen-lockfile
|
|
- name: Publish package
|
|
run: yarn push
|
|
env:
|
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |