Skip to content

Commit

Permalink
chore: add creating PR artifact for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel-Tyan committed Nov 21, 2024
1 parent 35da597 commit 3418c93
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ jobs:
run: npm run build
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Save PR ID
if: always()
run: |
pr="${{ github.event.pull_request.number }}"
echo $pr > ./pr-id.txt
shell: bash
- name: Tests
run: npm run test
- uses: actions/upload-artifact@v4
Expand All @@ -44,5 +38,17 @@ jobs:
name: playwright-report
path: playwright-report/
retention-days: 1
- name: Save PR ID
if: always()
run: |
pr="${{ github.event.pull_request.number }}"
echo $pr > ./pr-id.txt
shell: bash
- name: Create PR Artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: pr
path: ./pr-id.txt
- name: Typecheck
run: npm run typecheck

0 comments on commit 3418c93

Please sign in to comment.