Skip to content

Commit f4a5fa5

Browse files
committed
Simplify ci
1 parent 1d0ae2f commit f4a5fa5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/resources.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,11 @@ jobs:
1010
- name: Checkout the repository
1111
uses: actions/checkout@v4
1212

13-
- name: Get Node.js version from .nvmrc
14-
id: get-node-version
15-
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
16-
1713
- name: Setup Node.js
1814
uses: actions/setup-node@v4
1915
with:
20-
node-version: '${{ steps.get-node-version.outputs.NODE_VERSION }}'
16+
node-version-file: '.nvmrc'
17+
cache: 'npm'
2118

2219
- name: Install dependencies
2320
run: npm install

0 commit comments

Comments
 (0)