Skip to content

fix(renovate): pin Update github-actions #563

fix(renovate): pin Update github-actions

fix(renovate): pin Update github-actions #563

Workflow file for this run

name: CI
on:
push:
branches:
- 'track/*'
- 'main'
pull_request:
branches:
- 'track/*'
- 'main'
jobs:
testing:
runs-on: ubuntu-latest
name: Testing
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 20
- name: Install dependencies
run: |
npm install
- name: Execute tests
run: |
npm run test
linting:
runs-on: ubuntu-latest
name: Linting
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 20
- name: Install dependencies
run: |
npm install
- name: Lint
run: |
npm run format
npm run lint
build:
runs-on: ubuntu-latest
name: Build
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 20
- name: Install dependencies
run: |
npm install
- name: Build
run: |
npm run build
if [[ -n "$(git status -s)" ]]; then
echo "Please run 'npm run build' then commit/push changes"
echo
git diff
exit 1
fi