Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Smilin committed Apr 29, 2024
1 parent 3b84953 commit 02c15d1
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
jobs:
setup-and-cache:
runs-on: ubuntu-latest
outputs:
cache-hit: ${{ steps.cache-node-modules.outputs.cache-hit }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
Expand All @@ -28,11 +26,11 @@ jobs:
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm install

- name: Copy node_modules to project directory (if not present)
run: |
if [ ! -d "node_modules" ]; then
cp -r node_modules ./
fi
- name: Upload node_modules
uses: actions/upload-artifact@v3
with:
name: node_modules
path: node_modules

tag:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -97,6 +95,12 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4

- name: Download node_modules
uses: actions/download-artifact@v3
with:
name: node_modules
path: node_modules

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

Expand Down

0 comments on commit 02c15d1

Please sign in to comment.