Skip to content

deps: lock file maintenance (#761) #735

deps: lock file maintenance (#761)

deps: lock file maintenance (#761) #735

Workflow file for this run

name: Release
on:
push:
branches:
- beta
- master
permissions: {}
jobs:
release:
name: Publish & Deploy
permissions:
contents: write
runs-on: ubuntu-latest
env:
SKU_TELEMETRY: false
steps:
- name: Check out repo
uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
token: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }}
- name: Set up Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Publish to npm
uses: changesets/action@v1
with:
publish: yarn release
version: yarn stage
env:
GITHUB_TOKEN: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build Storybook
run: yarn storybook:build
- name: Deploy Storybook
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }}
publish_dir: ./dist-storybook