-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d69c07
commit 836b35d
Showing
1 changed file
with
23 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |