Skip to content

Bump actions/checkout from 4.2.0 to 4.2.2 #1141

Bump actions/checkout from 4.2.0 to 4.2.2

Bump actions/checkout from 4.2.0 to 4.2.2 #1141

Workflow file for this run

name: CI
on: [pull_request]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: '20'
- name: Run `npm install`
run: npm install
- name: Run `npm run all`
run: npm run all
- name: Save PR number
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
run: echo ${{ github.event.number }} > PR_NUMBER
- name: Upload artifact with `PR_NUMBER`
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: PR_NUMBER
path: PR_NUMBER
- name: Upload artifact with `dist` folder
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: dist
path: dist/
- name: Upload artifact with `covertura.xml`
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: cobertura
path: coverage/cobertura-coverage.xml