Skip to content

Commit

Permalink
ci: Set artifact retention to 1 day
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanjin committed Oct 2, 2024
1 parent 8da6a5d commit 5224b57
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Run Integration Tests
run: npm run cy:run

pack-library:
package-library:
needs: integration-test
name: Package Library
runs-on: ubuntu-latest
Expand All @@ -87,8 +87,8 @@ jobs:
- name: Build Project
run: npm run build --if-present

- name: Pack Library
id: pack
- name: Package Library
id: package
run: |
npm pack
echo "PACKAGE_NAME=$(ls *.tgz)" >> $GITHUB_ENV
Expand All @@ -98,9 +98,10 @@ jobs:
with:
name: react-chatbotify-package
path: ${{ env.PACKAGE_NAME }}
retention-days: 1

compatibility-test:
needs: pack-library
needs: package-library
name: Run Compatibility Test
runs-on: ubuntu-latest

Expand Down

0 comments on commit 5224b57

Please sign in to comment.