Skip to content

Commit

Permalink
ci: 🎡 update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NetanelBasal committed Jan 9, 2024
1 parent d0dc032 commit a51651a
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,17 @@ on:

jobs:
build:
runs-on: ubuntu-18.04
strategy:
fail-fast: true
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/cache@v1
id: npm-cache
- name: Npm install
uses: actions/setup-node@v3
with:
path: node_modules
key: ${{ runner.os }}-v1-npm-${{ hashFiles('./package-lock.json') }}
restore-keys: ${{ runner.os }}-v1-npm

- uses: actions/setup-node@v1
with:
node-version: 14.15

- name: Install dependencies
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci
node-version: 18
cache: 'npm'
- run: npm i

- name: Test
run: npm run test:lib
Expand Down

0 comments on commit a51651a

Please sign in to comment.