Skip to content

Commit

Permalink
Update GH Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbarbara committed Feb 22, 2024
1 parent 7f0ca72 commit 7c80b98
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ jobs:
timezone: America/Sao_Paulo

- name: Setup repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: Cache Packages
id: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -56,7 +56,8 @@ jobs:
run: npm run validate
timeout-minutes: 5

- uses: actions/upload-artifact@v3
- name: Save Playwright Report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
Expand Down
2 changes: 2 additions & 0 deletions e2e/scroll.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -350,4 +350,6 @@ test('should run the tour', async ({ mount, page }) => {
type: EVENTS.TOUR_STATUS,
}),
);

await page.close();
});

0 comments on commit 7c80b98

Please sign in to comment.