Skip to content

Commit

Permalink
Add karma to dev deps. and run Node 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosavola committed Feb 23, 2022
1 parent 4af4dd2 commit a6b2d27
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,27 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [8.x, 16.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install --include=dev
- run: better-npm-run test
- run: npm install --include=dev --unsafe-perm
- run: npm i better-npm-run && npx better-npm-run test

lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: 8.x
cache: 'npm'
- run: npm install --include=dev
- run: npm install --include=dev --unsafe-perm
- run: npm run lint
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@
"eslint-plugin-react": "^6.0.0",
"eslint-plugin-standard": "^2.0.0",
"faker": "^3.1.0",
"karma": "^5.0.9",
"nodemon": "^1.18.10",
"pm2": "^3.3.1",
"react-addons-test-utils": "^15.0.0",
Expand Down

0 comments on commit a6b2d27

Please sign in to comment.