Skip to content

Commit

Permalink
Only prod deps
Browse files Browse the repository at this point in the history
  • Loading branch information
berniegp committed Oct 16, 2024
1 parent 48bc1a2 commit 2f0d22f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:
- run: npm run test:ci
- name: Make build tarball
run: mv "$(npm pack | tail -1)" $BUILD_ARTIFACT_FILENAME
- run: ls -al
- run: echo $BUILD_ARTIFACT_FILENAME
- name: Archive build dist
uses: actions/upload-artifact@v4
with:
Expand All @@ -50,7 +48,7 @@ jobs:
# - 23

steps:
# - uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
# node-version: ${{ matrix.node-version }}
Expand All @@ -59,7 +57,5 @@ jobs:
uses: actions/download-artifact@v4
with:
name: ${{ env.BUILD_ARTIFACT_NAME }}
- run: |
npm init -y
npm install $BUILD_ARTIFACT_FILENAME
- run: npm install $BUILD_ARTIFACT_FILENAME --only=prod
- run: ls node_modules

0 comments on commit 2f0d22f

Please sign in to comment.