Skip to content

[migrate] upgrade to MobX 7, Node.js 24, PNPM 11, Lint-Staged 17, Ope… #31

[migrate] upgrade to MobX 7, Node.js 24, PNPM 11, Lint-Staged 17, Ope…

[migrate] upgrade to MobX 7, Node.js 24, PNPM 11, Lint-Staged 17, Ope… #31

Workflow file for this run

name: CI & CD
on:
push:
tags:
- v*
jobs:
Build-and-Publish:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
with:
version: 11
- uses: actions/setup-node@v7
with:
node-version: 24
registry-url: https://registry.npmjs.org
cache: pnpm
- name: Install Dependencies
run: pnpm i --frozen-lockfile
- name: Build & Publish the core package
run: |
echo GITHUB_PAT=${{ secrets.PAT }} > .env
npm publish --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build & Publish the Strapi package
run: bash wrapper/publish.sh || true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Update document
uses: peaceiris/actions-gh-pages@v4
with:
publish_dir: ./docs
personal_token: ${{ secrets.GITHUB_TOKEN }}
force_orphan: true