Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
koromerzhin authored Dec 10, 2024
1 parent c0b9e8d commit e9fdb09
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,14 @@ jobs:
- name: linter readme.md
run: npm run lint:markdown
- name: Cypress run
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@v6
- name: Définir les variables de date et de branche
run: |
echo "CURRENT_DATE=$(date '+%Y-%m-%d_%H-%M-%S')" >> $GITHUB_ENV
echo "CURRENT_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
- name: Archive screenshots
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: screenshot
path: cypress/
name: "sveltejs-${{ env.CURRENT_BRANCH }}_${{ env.CURRENT_DATE }}"
path: cypress/
retention-days: 7

0 comments on commit e9fdb09

Please sign in to comment.