Skip to content

Commit

Permalink
Simplify ci
Browse files Browse the repository at this point in the history
  • Loading branch information
inverse committed Sep 2, 2024
1 parent 1d0ae2f commit f4a5fa5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,11 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Get Node.js version from .nvmrc
id: get-node-version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '${{ steps.get-node-version.outputs.NODE_VERSION }}'
node-version-file: '.nvmrc'
cache: 'npm'

- name: Install dependencies
run: npm install
Expand Down

0 comments on commit f4a5fa5

Please sign in to comment.