Skip to content

Commit

Permalink
Introduce .nvmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Jul 11, 2024
1 parent 4084e4e commit 866616b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,6 @@ jobs:
uses: stylelint/.github/.github/workflows/lint.yml@main

test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: npm

- name: Install latest npm
run: npm install --global npm@latest

- name: Install dependencies
run: npm ci

- name: Run test
run: npm test
uses: stylelint/.github/.github/workflows/test.yml@main
with:
node-version-file: .nvmrc
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20

0 comments on commit 866616b

Please sign in to comment.