Skip to content

build(deps-dev): bump @babel/traverse from 7.21.3 to 7.23.2 #51

build(deps-dev): bump @babel/traverse from 7.21.3 to 7.23.2

build(deps-dev): bump @babel/traverse from 7.21.3 to 7.23.2 #51

Workflow file for this run

name: CI
on: pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
COMMIT_COUNT: 1
jobs:
lint-commits:
name: Lint commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: ./.github/workflows/actions/environment-prepare
- name: Count
run: |
LIMIT=${{ env.COMMIT_COUNT }}
COUNT=$(git rev-list --count ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }})
if [ $COUNT -gt $LIMIT ]; then
echo "Commit count must not greater than $LIMIT. Found $COUNT commits."
exit 1
fi
- name: Format
run: pnpm commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
lint-type:
name: Type checking
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/environment-prepare
- name: Run typescript check
run: pnpm lint:type
lint-code:
name: Code checking
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/environment-prepare
- name: Run eslint
run: pnpm lint:code
lint-build:
name: Build Testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/environment-prepare
- name: Build Library
run: pnpm bundle
lint-package:
name: Package Testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/environment-prepare
- name: Build Library
run: pnpm bundle
- name: Build Mocked Package Info
run: pnpm pkg:prepare version=v1.0.0
- name: Test Library
run: pnpm lint:package