Skip to content

Commit

Permalink
actions: use node v20 (#113)
Browse files Browse the repository at this point in the history
Co-authored-by: Moshe Atlow <[email protected]>
  • Loading branch information
flakey5 and MoLow authored Apr 11, 2024
1 parent c4c494c commit 3d3c431
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 21 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,11 @@ jobs:
- name: Git Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744

- name: Cache Dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
- name: Setup Node
uses: actions/setup-node@v4
with:
path: |
~/.npm
node_modules/.cache
key: ${{ runner.os }}-npm-${{ hashFiles('**/workflows/format.yml') }}
restore-keys: ${{ runner.os }}-npm-
node-version: lts/*
cache: 'npm'

- name: Install Dependencies
run: npm install
Expand Down
22 changes: 8 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,11 @@ jobs:
- name: Git Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744

- name: Cache Dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
- name: Setup Node
uses: actions/setup-node@v4
with:
path: |
~/.npm
node_modules/.cache
key: ${{ runner.os }}-npm-${{ hashFiles('**/workflows/format.yml') }}
restore-keys: ${{ runner.os }}-npm-
node-version: lts/*
cache: 'npm'

- name: Install dependencies
run: npm install
Expand All @@ -43,14 +40,11 @@ jobs:
- name: Git Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744

- name: Cache Dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
- name: Setup Node
uses: actions/setup-node@v4
with:
path: |
~/.npm
node_modules/.cache
key: ${{ runner.os }}-npm-${{ hashFiles('**/workflows/format.yml') }}
restore-keys: ${{ runner.os }}-npm-
node-version: lts/*
cache: 'npm'

- name: Install dependencies
run: npm install
Expand Down

0 comments on commit 3d3c431

Please sign in to comment.