Skip to content

Commit

Permalink
Simplify CI settings via reusable workflow (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Jun 7, 2022
1 parent d0779a3 commit 741e302
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/nodejs.yml
Expand Up @@ -11,29 +11,4 @@ on:

jobs:
test:
name: Test on Node.js ${{ matrix.node }}

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node: [12, 14, 16, 18]

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: npm

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

- name: Install dependencies
run: npm ci

- name: Test
run: npm test
uses: stylelint/.github/.github/workflows/test.yml@main

0 comments on commit 741e302

Please sign in to comment.