Skip to content

Commit

Permalink
chore(ci): update GitHub Actions to use latest versions of checkout, …
Browse files Browse the repository at this point in the history
…setup-node, and upload-artifact actions, and add npm install step
  • Loading branch information
MoinJulian committed Nov 22, 2024
1 parent 53ceb21 commit cb38158
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 @@ -9,11 +9,12 @@ jobs:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16.x'

- name: Install dependencies
run: npm install
- name: Get installed Playwright version
id: playwright-version
run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').dependencies['@playwright/test'].version)")" >> $GITHUB_ENV
Expand All @@ -32,7 +33,7 @@ jobs:

- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-test-results
Expand Down

0 comments on commit cb38158

Please sign in to comment.