17 |
|
|
18 |
steps: |
steps: |
19 |
- uses: actions/checkout@v3 |
- uses: actions/checkout@v3 |
20 |
|
|
21 |
- name: Use Node.js ${{ matrix.node-version }} |
- name: Use Node.js ${{ matrix.node-version }} |
22 |
uses: actions/setup-node@v3 |
uses: actions/setup-node@v3 |
23 |
with: |
with: |
24 |
node-version: ${{ matrix.node-version }} |
node-version: ${{ matrix.node-version }} |
25 |
cache: 'npm' |
|
26 |
- run: npm update |
- name: "Install Dependencies" |
27 |
- run: npm run test --if-present |
run: npm install |
28 |
|
|
29 |
|
- name: "Install Dev Dependencies" |
30 |
|
run: npm install --dev |
31 |
|
|
32 |
|
- name: "ESLint" |
33 |
|
run: npm run lint || echo "ESLint Failed" |
34 |
|
|
35 |
|
- name: "Build" |
36 |
|
run: npm run build --if-present |
37 |
|
|
38 |
|
- name: "Run Test Suites" |
39 |
|
run: npm run test --if-present |