fix: move node_modules to /workspace in CI image and update symlink
This commit is contained in:
@@ -19,7 +19,9 @@ jobs:
|
||||
- name: Link node_modules from container
|
||||
run: |
|
||||
# Create symlink to pre-installed node_modules in container
|
||||
ln -sf /app/node_modules ./node_modules
|
||||
# Container has node_modules at /workspace/node_modules
|
||||
# Gitea Actions checks out at /workspace/david/euchre_camp
|
||||
ln -sf /workspace/node_modules ./node_modules
|
||||
|
||||
- name: Run unit tests
|
||||
run: npm run test:run
|
||||
@@ -42,7 +44,7 @@ jobs:
|
||||
- name: Link node_modules from container
|
||||
run: |
|
||||
# Create symlink to pre-installed node_modules in container
|
||||
ln -sf /app/node_modules ./node_modules
|
||||
ln -sf /workspace/node_modules ./node_modules
|
||||
|
||||
- name: Setup SQLite database
|
||||
run: |
|
||||
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
- name: Link node_modules from container
|
||||
run: |
|
||||
# Create symlink to pre-installed node_modules in container
|
||||
ln -sf /app/node_modules ./node_modules
|
||||
ln -sf /workspace/node_modules ./node_modules
|
||||
|
||||
- name: Run unit tests
|
||||
run: npm run test:run
|
||||
|
||||
Reference in New Issue
Block a user