npm cache with action
Unit Tests with docker compose / unit-test (pull_request) Failing after 1m15s
Details
Unit Tests with docker compose / unit-test (pull_request) Failing after 1m15s
Details
This commit is contained in:
parent
57fd170ad1
commit
a44c62471f
|
@ -14,14 +14,9 @@ jobs:
|
||||||
run: apk add npm git curl bash
|
run: apk add npm git curl bash
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Cache NPM dependencies
|
|
||||||
uses: actions/cache@v1
|
|
||||||
with:
|
|
||||||
path: ~/.npm
|
|
||||||
key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package.json') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.OS }}-npm-cache-
|
|
||||||
- name: Install project dependencies
|
- name: Install project dependencies
|
||||||
run: npm install
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
cache: 'npm'
|
||||||
- name: Run docker-compose
|
- name: Run docker-compose
|
||||||
run: docker compose down -v && docker compose run bot-api bun test
|
run: docker compose down -v && docker compose run bot-api bun test
|
Loading…
Reference in New Issue