mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-12-09 21:37:53 +00:00
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-node](https://github.com/actions/setup-node). Updates `actions/checkout` from 6.0.0 to 6.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](1af3b93b68...8e8c483db8) Updates `actions/setup-node` from 6.0.0 to 6.1.0 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](2028fbc5c2...395ad32622) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: actions/setup-node dependency-version: 6.1.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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v5
|
|
|
|
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # 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)
|