Skip to content

Commit b5036aa

Browse files
committed
Update Node.js version to 18 in automated-tests.yml
1 parent 42135a7 commit b5036aa

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,28 @@
1-
# This is a sample workflow for automated tests
2-
3-
name: Automated Tests
1+
name: CI
42

53
on:
64
push:
75
branches:
86
- main
7+
pull_request:
8+
branches:
9+
- main
910

1011
jobs:
1112
build:
1213
runs-on: ubuntu-latest
14+
1315
steps:
1416
- name: Checkout code
1517
uses: actions/checkout@v2
1618

1719
- name: Set up Node.js
1820
uses: actions/setup-node@v2
1921
with:
20-
node-version: '14'
22+
node-version: '18'
2123

2224
- name: Install dependencies
23-
run: |
24-
cd ./automated-testing
25-
npm install
25+
run: npm install
2626

27-
- name: Run Playwright tests
28-
run: |
29-
cd ./automated-testing
30-
npx playwright test
27+
- name: Run tests
28+
run: npm test

0 commit comments

Comments
 (0)