forked from isaul32/ckeditor5-math
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
61e7414
commit 3aa1275
Showing
1 changed file
with
16 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,26 @@ | ||
name: Release | ||
on: | ||
push: | ||
tags: v* | ||
tags: | ||
- 'v*' | ||
jobs: | ||
publish-github-registry: | ||
publish-package: | ||
name: Publish package | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up node & dependencies | ||
- name: Set up Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
registry-url: https://npm.pkg.github.com/ | ||
cache: "npm" | ||
- run: yarn install | ||
- run: yarn publish | ||
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.GITHUB_TOKEN}} | ||
permissions: | ||
packages: write | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |