fix: mount /apps and docker socket in PR workflow build-and-deploy-ci job #41
@@ -22,21 +22,6 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Compute dependency cache key
|
|
||||||
id: npm-key
|
|
||||||
run: |
|
|
||||||
echo "hash=$(sha256sum package-lock.json | cut -d' ' -f1)" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Cache node_modules
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
node_modules
|
|
||||||
~/.npm
|
|
||||||
key: npm-${{ runner.os }}-${{ steps.npm-key.outputs.hash }}
|
|
||||||
restore-keys: |
|
|
||||||
npm-${{ runner.os }}-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci --legacy-peer-deps
|
run: npm ci --legacy-peer-deps
|
||||||
|
|
||||||
@@ -61,21 +46,6 @@ jobs:
|
|||||||
|
|
||||||
# Required for acceptance tests - they import prisma via @/ path alias
|
# Required for acceptance tests - they import prisma via @/ path alias
|
||||||
# and @cucumber/cucumber for cucumber-e2e tests
|
# and @cucumber/cucumber for cucumber-e2e tests
|
||||||
- name: Compute dependency cache key
|
|
||||||
id: npm-key
|
|
||||||
run: |
|
|
||||||
echo "hash=$(sha256sum package-lock.json | cut -d' ' -f1)" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Cache node_modules
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
node_modules
|
|
||||||
~/.npm
|
|
||||||
key: npm-${{ runner.os }}-${{ steps.npm-key.outputs.hash }}
|
|
||||||
restore-keys: |
|
|
||||||
npm-${{ runner.os }}-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci --legacy-peer-deps
|
run: npm ci --legacy-peer-deps
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user