Skip to content

Commit

Permalink
Optimisation de l'installation des packages sur la CI
Browse files Browse the repository at this point in the history
  • Loading branch information
NerOcrO committed Oct 3, 2024
1 parent 324952b commit 9604d3f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version-file: package.json
- name: Install modules
run: npm i
- name: Tests
run: npm run test:config
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version-file: package.json
- name: Install modules
run: npm i --no-audit --prefer-offline
- name: Tests
run: npm run test:config
18 changes: 9 additions & 9 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version-file: package.json
- name: Install modules
run: npm i
- name: Lint
run: npm run lint
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version-file: package.json
- name: Install modules
run: npm i --no-audit --prefer-offline
- name: Lint
run: npm run lint
18 changes: 9 additions & 9 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version-file: package.json
- name: Install modules
run: npm i
- name: Tests
run: npm run test:integration
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version-file: package.json
- name: Install modules
run: npm i --no-audit --prefer-offline
- name: Tests
run: npm run test:integration

0 comments on commit 9604d3f

Please sign in to comment.