Skip to content

Commit

Permalink
Update deps and CI settings (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Apr 29, 2022
1 parent 7b92f36 commit bc3f891
Show file tree
Hide file tree
Showing 4 changed files with 810 additions and 808 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,31 @@ on:
jobs:
test:
name: Lint and test

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up node
uses: actions/setup-node@v2
uses: actions/checkout@v3

- name: Get Node.js version from package.json
run: |
node -p 'require("./package.json").engines.node' | tee .node-version
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
node-version-file: .node-version
cache: npm

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

- name: Install dependencies
run: npm ci --force
run: npm ci

- name: Lint
run: npm run lint

- name: Test
run: npm test

0 comments on commit bc3f891

Please sign in to comment.