Skip to content

Replace validate-npm-package-name with a regexp (#954) #413

Replace validate-npm-package-name with a regexp (#954)

Replace validate-npm-package-name with a regexp (#954) #413

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
name: Publish & Deploy docs
runs-on: ubuntu-latest
env:
CI: true
timeout-minutes: 15
steps:
- name: Check out Repo
uses: actions/checkout@v3
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
token: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }}
- uses: pnpm/action-setup@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: pnpm
node-version-file: package.json
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
version: pnpm run version
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.SEEK_OSS_CI_NPM_TOKEN }}