Skip to content

chore: pin github actions #1271

chore: pin github actions

chore: pin github actions #1271

Workflow file for this run

name: Node.js CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
lint:
name: Lint using ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Use latest Node.js LTS
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: lts/*
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint
test:
name: Test on Node.js
uses: aduh95/action/.github/workflows/node-test.yaml@5f4f01f9acaa5c849983152a0abb08c1318fc64d # v0.1.10
with:
action-repository: aduh95/action
action-ref: 5f4f01f9acaa5c849983152a0abb08c1318fc64d
runs-on: ubuntu-latest, macos-latest
test-command: npm run coverage:ci
post-test-steps: |
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v5