chore(deps): update ci dependencies #3122
Workflow file for this run
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: Quality checks ππ§ͺ | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
paths-ignore: | |
- '**/*.md' | |
merge_group: | |
schedule: | |
- cron: 30 7 * * 6 | |
workflow_dispatch: | |
jobs: | |
dependency-review: | |
name: Vulnerable dependencies π | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/[email protected] | |
with: | |
show-progress: false | |
- name: Scan | |
uses: actions/[email protected] | |
with: | |
## Workaround from https://github.com/actions/dependency-review-action/issues/456 | |
## TODO: Remove when necessary | |
base-ref: ${{ github.event.pull_request.base.sha || 'master' }} | |
head-ref: ${{ github.event.pull_request.head.sha || github.ref }} | |
lint: | |
name: Lint π¬ | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: frontend | |
steps: | |
- name: Checkout β¬οΈ | |
uses: actions/[email protected] | |
with: | |
show-progress: false | |
- name: Setup node environment βοΈ | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
check-latest: true | |
- name: Install dependencies π¦ | |
run: npm ci --no-audit | |
- name: Run linter βοΈ | |
run: npm run lint | |
typecheck: | |
name: Typecheck π― | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: frontend | |
steps: | |
- name: Checkout β¬οΈ | |
uses: actions/[email protected] | |
with: | |
show-progress: false | |
- name: Setup node environment βοΈ | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
check-latest: true | |
- name: Install dependencies π¦ | |
run: npm ci --no-audit | |
- name: Run typecheck π | |
run: npm run typecheck | |
build: | |
name: Build ποΈ | |
uses: ./.github/workflows/package.yml | |
with: | |
commit: ${{ github.sha }} | |
conventional_commits: | |
name: Conventional commits check π¬ | |
if: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout β¬οΈ | |
uses: actions/[email protected] | |
with: | |
show-progress: false | |
- name: Check if all commits comply with the specification | |
uses: webiny/[email protected] |