This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
chore(deps): update dependency bitgo/gha-renovate-bot to v1.21.2 #27
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: CI | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
commitlint: | |
runs-on: ubuntu-latest | |
name: "Commit Message Check" | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 10 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 7 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
cache: "pnpm" | |
node-version: lts/* | |
- name: Install dependencies | |
run: pnpm install | |
- name: Validate PR commits with commitlint | |
if: github.event_name == 'pull_request' | |
run: pnpm dlx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose | |
identity-token: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [lts/-2, lts/-1, lts/*] | |
name: Node.js ${{ matrix.node-version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 7 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
cache: "pnpm" | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: pnpm install | |
- name: Compile TypeScript | |
run: pnpm build | |
- name: Test | |
run: pnpm test | |
- name: Lint | |
run: pnpm lint |