Skip to content

Renovate Buildkite Plugins in Docs (#1530) #1330

Renovate Buildkite Plugins in Docs (#1530)

Renovate Buildkite Plugins in Docs (#1530) #1330

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions: {}
jobs:
release:
name: Publish & Deploy
permissions:
contents: write
id-token: write
runs-on: ubuntu-latest
timeout-minutes: 20
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
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Set up pnpm
run: corepack enable pnpm && corepack install
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Publish to npm
uses: changesets/action@v1
with:
publish: pnpm release
version: pnpm 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