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 159c81e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 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
8 changes: 4 additions & 4 deletions playwright-ct.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ const config = defineConfig({
name: 'firefox',
use: { ...devices['Desktop Firefox'] },
},
{
name: 'webkit',
use: { ...devices['Desktop Safari'] },
},
// {
// name: 'webkit',
// use: { ...devices['Desktop Safari'] },
// },
],
reporter: 'html',
retries: process.env.CI ? 2 : 0,
Expand Down

0 comments on commit 159c81e

Please sign in to comment.