deps: dependency docker to v5.11.0 (#1564) #1352
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: 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 |