Skip to content

Commit

Permalink
ci: 🎡 update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharkazaz committed Aug 12, 2023
1 parent 0d69c07 commit 836b35d
Showing 1 changed file with 23 additions and 29 deletions.
52 changes: 23 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,33 @@
name: CI
name: Keys Manager

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
- name: use cache
uses: actions/cache@v2
with:
path: |
node_modules
*/*/node_modules
/home/runner/.cache/Cypress
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- run: npm i -g [email protected]
- run: npm i
- run: npm run build
node-version: '18'
cache: npm

- name: Install dependencies
run: npm i

- name: Run build
run: npm run build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: use cache
uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
path: |
node_modules
*/*/node_modules
/home/runner/.cache/Cypress
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- run: npm i -g [email protected]
- run: npm i
- run: npm run test
node-version: '18'
cache: npm

- name: Install dependencies
run: npm i

- name: Run tests
run: npm run test

0 comments on commit 836b35d

Please sign in to comment.