mirror of
https://github.com/softprops/action-gh-release.git
synced 2026-01-27 22:34:27 +08:00
Bumps the github-actions group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-node](https://github.com/actions/setup-node). Updates `actions/checkout` from 6.0.1 to 6.0.2 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](8e8c483db8...de0fac2e45) Updates `actions/setup-node` from 6.1.0 to 6.2.0 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](395ad32622...6044e13b5d) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: actions/setup-node dependency-version: 6.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v5
|
|
|
|
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
|
|
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)
|