Skip to content

Document semver transgressions (#1397) #1200

Document semver transgressions (#1397)

Document semver transgressions (#1397) #1200

Workflow file for this run

name: Release
on:
push:
branches:
- beta
- master
permissions: {}
jobs:
release:
name: Publish & Deploy
permissions:
contents: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }}
- name: Set up Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- uses: pnpm/action-setup@v2
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Publish to npm
uses: changesets/action@v1
with:
publish: pnpm run release
version: pnpm run stage
env:
GITHUB_TOKEN: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.SEEK_OSS_CI_NPM_TOKEN }}
- name: Deploy to GitHub Pages
run: pnpm run deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
IS_GITHUB_PAGES: true