Skip to content

fix: typos

fix: typos #1608

Workflow file for this run

name: ci
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
on:
push:
branches: ['master']
pull_request:
branches: ['master']
jobs:
ci:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
pull-requests: write
if: |
github.event.pull_request.head.repo.full_name == github.repository ||
(github.ref == 'refs/heads/master' && github.event_name == 'push')
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3.0.0
with:
token: '${{ secrets.GITHUB_TOKEN }}'
fetch-depth: 0
- name: Setup Node.js and Authenticate with npm
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- name: Update npm to the latest version
run: npm install -g npm@latest
- name: Build packages
uses: ./.github/actions/build
- name: prerelease
if: |
!contains(github.head_ref, 'dependabot') &&
github.ref != 'refs/heads/master'
run: |
yarn release:canary \
--yes --no-verify-access \
--dist-tag '${{ github.event.pull_request.head.sha }}' --preid '${{ github.event.pull_request.head.sha }}' \
| tee __publish-log.txt
- name: Comment on PR
if: github.event.number
uses: ./.github/actions/pr-comment
with:
PR_NUMBER: '${{ github.event.number }}'
- name: release
if: |
github.event_name == 'push' &&
github.ref == 'refs/heads/master'
env:
GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
run: |
git config user.name "GitHub Actions Build"
git config user.email "[email protected]"
yarn release:check
yarn release:latest --yes --no-verify-access --npm-publish-args="--provenance"