fix: use symlinks to link node_modules from container
This commit is contained in:
@@ -17,8 +17,11 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: /app
|
||||
|
||||
- name: Link node_modules from container
|
||||
run: |
|
||||
# Create symlink to pre-installed node_modules in container
|
||||
ln -sf /app/node_modules ./node_modules
|
||||
|
||||
- name: Run unit tests
|
||||
run: npm run test:run
|
||||
|
||||
Reference in New Issue
Block a user