Skip to content

chore: pin github actions #1260

chore: pin github actions

chore: pin github actions #1260

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@b93ad1a9fbde06f18c2f78e753d7efde85b9043c # v0.1.10

Check failure on line 29 in .github/workflows/nodejs.yml

View workflow run for this annotation

GitHub Actions / Node.js CI

Invalid workflow file

The workflow is not valid. In .github/workflows/nodejs.yml (Line: 29, Col: 11): Error from called workflow aduh95/action/.github/workflows/node-test.yaml@b93ad1a9fbde06f18c2f78e753d7efde85b9043c (Line: 91, Col: 13): Unrecognized named-value: 'github'. Located at position 1 within expression: github.action_repository In .github/workflows/nodejs.yml (Line: 29, Col: 11): Error from called workflow aduh95/action/.github/workflows/node-test.yaml@b93ad1a9fbde06f18c2f78e753d7efde85b9043c (Line: 124, Col: 13): Unrecognized named-value: 'github'. Located at position 1 within expression: github.action_repository
with:
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