Skip to content

Commit

Permalink
Update CI task
Browse files Browse the repository at this point in the history
  • Loading branch information
koddsson committed May 28, 2022
1 parent 3b8b3bc commit 7068f63
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/ci.yml
Expand Up @@ -11,20 +11,10 @@ jobs:
name: Run tests
runs-on: macos-latest
steps:
- name: Checkout the project
uses: actions/checkout@v3
- name: Cache node modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Use Node.js 18
uses: actions/setup-node@v3
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Run Node.js Tests
run: npm run test
cache: 'npm'
- run: npm ci
- run: npm test

0 comments on commit 7068f63

Please sign in to comment.