v0.28.0 #33
Workflow file for this run
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
name: Publish NPM Packages | |
on: | |
release: | |
types: [published] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.8.1' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install Dependencies | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- run: pnpm install --frozen-lockfile | |
- name: Build toolkit | |
run: pnpm nx build toolkit | |
- name: Build apps | |
run: pnpm nx build apps | |
- name: Publish apps and toolkit using NX | |
run: pnpm nx run-many --target=nx-release-publish --projects=apps,toolkit | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |