Skip to content

Update actions/checkout action to v6.0.1 (.github/workflows) #2887

Update actions/checkout action to v6.0.1 (.github/workflows)

Update actions/checkout action to v6.0.1 (.github/workflows) #2887

Workflow file for this run

name: hello-world
on:
pull_request:
paths:
- hello-world/**
- '**/*.json'
- pnpm-*
- .github/workflows/hello-world.yaml
push:
branches:
- main
paths:
- hello-world/**
- '**/*.json'
- pnpm-*
- .github/workflows/hello-world.yaml
defaults:
run:
working-directory: hello-world
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version-file: .node-version
package-manager-cache: false
- run: npm install -g pnpm@latest-10
- run: pnpm i
- run: pnpm test
- run: pnpm build
- name: Run hello-world
uses: ./hello-world
with:
name: foo