Skip to content

Commit

Permalink
more build artifact isolation
Browse files Browse the repository at this point in the history
  • Loading branch information
kremalicious committed Sep 19, 2023
1 parent b2deff5 commit 8002dc0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
- run: npm ci
- run: npm run test:unit
- uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-latest' && matrix.node == '18'
with:
name: coverage-${{ matrix.os }}-${{ matrix.node }}
path: coverage/
Expand Down Expand Up @@ -111,10 +112,10 @@ jobs:
- run: npm ci
- run: npm run build
- name: Zip artifact for deployment
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main' && matrix.os == 'ubuntu-latest' && matrix.node == '18'
run: zip dist.zip ./dist -r
- uses: actions/upload-artifact@v3
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main' && matrix.os == 'ubuntu-latest' && matrix.node == '18'
with:
name: dist-${{ matrix.os }}-${{ matrix.node }}
path: dist.zip
Expand Down

1 comment on commit 8002dc0

@vercel
Copy link

@vercel vercel bot commented on 8002dc0 Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

blog-kremalicious.vercel.app
blog-git-main-kremalicious.vercel.app
kremalicious.vercel.app

Please sign in to comment.