Skip to content

Version Packages (next) #22

Version Packages (next)

Version Packages (next) #22

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.18.1]
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8.6.5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: pnpm --filter "contractor" install --ignore-scripts
- run: pnpm --filter "contractor" run build
- run: pnpm install --frozen-lockfile
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
version: pnpm run version
publish: pnpm --filter "!colony-js" run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}