docs(environment-variables): simplified sentences #1117
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 Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8.6.11 | |
- name: Install required Node.js version | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'pnpm' | |
node-version: 20 | |
registry-url: 'https://registry.npmjs.org' | |
# https://github.com/pnpm/pnpm/issues/1801 | |
- name: PNPM Stubs | |
run: mkdir -p ./packages/plugin-api/node_modules/.bin/ && echo "#! /usr/bin/env node" > ./packages/plugin-api/node_modules/.bin/robo | |
- name: PNPM install | |
run: pnpm install | |
- name: Build Robo | |
run: pnpm turbo run build --filter=robo.js | |
- name: PNPM install 2 | |
run: pnpm install | |
- name: Create Release Pull Request or Publish to npm | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
commit: 'chore(release): changesets versioning & publication' | |
createGithubReleases: true | |
publish: pnpm run publish:release | |
title: 'Changesets: Versioning & Publication' | |
version: pnpm exec changeset version | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |