Skip to content

Commit

Permalink
ci: 💚 reorder ci
Browse files Browse the repository at this point in the history
  • Loading branch information
thkruz committed Jan 13, 2024
1 parent 3f8f78b commit a8c2128
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ jobs:
- name: Checkout code
uses: actions/[email protected]

- name: Load Node.js latest
uses: actions/[email protected]
with:
node-version: '20.x'

- name: Load cached modules
uses: actions/[email protected]
uses: actions/cache/save@v3.3.3
with:
path: |
**/node_modules
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}

- name: Load Node.js latest
uses: actions/[email protected]
with:
node-version: '20.x'

- name: Install all dependencies
run: npm ci

Expand All @@ -33,17 +33,17 @@ jobs:
steps:
- uses: actions/[email protected]

- uses: actions/[email protected]
with:
node-version: '20.x'

- uses: actions/[email protected]
with:
path: |
**/node_modules
**/lib
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}

- uses: actions/[email protected]
with:
node-version: '20.x'

- run: npm run build
test:
name: test
Expand All @@ -56,7 +56,7 @@ jobs:
with:
node-version: '20.x'

- uses: actions/[email protected]
- uses: actions/cache/restore@v3.3.3
with:
path: |
**/node_modules
Expand Down

0 comments on commit a8c2128

Please sign in to comment.