Skip to content

Update actions/setup-node action to v4 (.github/workflows) #1538

Update actions/setup-node action to v4 (.github/workflows)

Update actions/setup-node action to v4 (.github/workflows) #1538

name: open-backport-pull-request
on:
pull_request:
paths:
- open-backport-pull-request/**
- '*.json'
- .github/workflows/open-backport-pull-request.yaml
push:
branches:
- main
paths:
- open-backport-pull-request/**
- '*.json'
- .github/workflows/open-backport-pull-request.yaml
defaults:
run:
working-directory: open-backport-pull-request
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: 20
cache: yarn
- run: yarn
- run: yarn test
- run: yarn build
- run: yarn package