Skip to content

Commit

Permalink
Update nodejs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
okhiroyuki authored Aug 17, 2024
1 parent f6b262c commit 308f407
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: npm ci
- uses: actions/checkout@v4
with:
repository: okhiroyuki/composite-actions
path: ./.github/actions/composite-actions
- uses: ./.github/actions/composite-actions/setup-node
- name: Test and coverage
run: npm run coverage
- name: SonarCloud Scan
Expand All @@ -28,10 +31,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
- uses: actions/checkout@v4
with:
node-version: "18"
repository: okhiroyuki/composite-actions
path: ./.github/actions/composite-actions
- uses: ./.github/actions/composite-actions/setup-node
- name: npm install, build, and test
run: |
npm ci
Expand Down

0 comments on commit 308f407

Please sign in to comment.