Skip to content

Commit

Permalink
chore(actions): Use node 20.12.0 consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
mindrunner committed Apr 19, 2024
1 parent 411fe40 commit 1be4f38
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,15 @@ jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 20.12.0 ]

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch git commit history
run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: 20.12.0
- name: Install dependencies
run: npm ci
- name: Run build
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.12.0 ]
steps:
- uses: oleksiyrudenko/gha-git-credentials@v2-latest
with:
Expand All @@ -20,10 +17,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: 20.12.0
- name: Install dependencies
run: npm ci
- name: Run build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.12.0
- run: npm ci
- run: npx semantic-release
env:
Expand Down

0 comments on commit 1be4f38

Please sign in to comment.