Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VinayKumarBM authored Jan 29, 2024
1 parent 3648321 commit 5bffdcc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout code from repository
uses: actions/checkout@v4
- name: Setting up Node.js 20
uses: actions/setup-node@v4.0.1
uses: actions/checkout@v3
- name: Setting up Node.js 18
uses: actions/setup-node@v3
with:
node-version: 20
node-version: 18
cache: 'npm'
- name: Install dependencies
run: npm ci && npx playwright install
Expand All @@ -30,7 +30,7 @@ jobs:
run: npx ts-node ./src/framework/reporter/HTMLReporter.ts
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4.0.1
uses: actions/upload-artifact@v3
with:
name: test-results
path: test-results
Expand All @@ -49,14 +49,14 @@ jobs:
needs: [ tests ]
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4.1.1
uses: actions/download-artifact@v3
id: download
with:
name: allure-results
path: allure-results

- name: Get Allure history
uses: actions/checkout@v4
uses: actions/checkout@v2
if: always()
continue-on-error: true
with:
Expand Down

0 comments on commit 5bffdcc

Please sign in to comment.