Skip to content

build(architecture): 📦 update github token #3

build(architecture): 📦 update github token

build(architecture): 📦 update github token #3

Workflow file for this run

name: Release on Merge to Master
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 9
- name: Run Pnpm
run: pnpm install --no-frozen-lockfile
- name: Build
run: pnpm build
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: pnpm changeset publish
env:
GITHUB_TOKEN: ${{ secrets.CI_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}