Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](eef61447b9...11bd71901b
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
33 lines
924 B
YAML
33 lines
924 B
YAML
name: main
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
|
|
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
|
|
with:
|
|
node-version-file: ".tool-versions"
|
|
cache: "npm"
|
|
|
|
- name: Install
|
|
run: npm ci
|
|
- name: Build
|
|
run: npm run build
|
|
- name: Test
|
|
run: npm run test
|
|
- name: Format
|
|
run: npm run fmtcheck
|
|
# - name: "check for uncommitted changes"
|
|
# # Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.
|
|
# run: |
|
|
# git diff --exit-code --stat -- . ':!node_modules' \
|
|
# || (echo "##[error] found changed files after build. please 'npm run build && npm run fmt'" \
|
|
# "and check in all changes" \
|
|
# && exit 1)
|