Skip to content

Commit 4449a86

Browse files
committed
chore: cleanup CI changes
* Cleanup CI changes per master branch updates to CI.
1 parent 520a37b commit 4449a86

File tree

1 file changed

+0
-83
lines changed

1 file changed

+0
-83
lines changed

.github/workflows/ci.yml

-83
Original file line numberDiff line numberDiff line change
@@ -9,53 +9,6 @@ on:
99
branches: [main, master]
1010

1111
jobs:
12-
<<<<<<< HEAD
13-
basic_node_test:
14-
name: 'Basic tests on ubuntu-latest with nodejs v22 (current LTS version)'
15-
runs-on: ubuntu-latest
16-
steps:
17-
- uses: actions/checkout@v2
18-
- uses: actions/setup-node@v2
19-
with:
20-
node-version: ${{ matrix.node }}
21-
- name: Install npm dependencies
22-
run: npm install
23-
- name: Print put node & npm version
24-
run: node --version && npm --version
25-
- name: Install chromium
26-
# package.json specifies 1.49.X; we need to align to ensure the correct browser binaries are installed as playwright may push new releases
27-
run: npx [email protected] install chromium
28-
- name: Run unit test
29-
run: npm run test
30-
31-
windows_and_macos_test:
32-
name: 'Platform tests on ${{matrix.os}} with nodejs v${{matrix.node}}'
33-
needs: basic_node_test
34-
strategy:
35-
matrix:
36-
# Test all mainstream operating system
37-
os: [macos-latest, windows-latest]
38-
node: [22]
39-
runs-on: ${{ matrix.os }}
40-
steps:
41-
# Pull repo to test machine
42-
- uses: actions/checkout@v2
43-
# Configures the node version used on GitHub-hosted runners
44-
- uses: actions/setup-node@v2
45-
with:
46-
# The Node.js version to configure
47-
node-version: ${{ matrix.node }}
48-
- name: Install npm dependencies
49-
run: npm install
50-
- name: Print put node & npm version
51-
# Output useful info for debugging.
52-
run: node --version && npm --version
53-
- name: Install chromium
54-
# package.json specifies 1.49.X; we need to align to ensure the correct browser binaries are installed as playwright may push new releases
55-
run: npx [email protected] install chromium
56-
- name: Run unit test
57-
run: npm run test
58-
=======
5912
test:
6013
name: 'Tests on ${{matrix.os}} with Node "${{matrix.node}}"'
6114
strategy:
@@ -72,45 +25,10 @@ jobs:
7225
node: 'lts/-2'
7326
- os: ubuntu-latest
7427
node: 'lts/-3'
75-
>>>>>>> master
7628

7729
runs-on: ${{ matrix.os }}
7830
# This has copy/paste steps and should be refactored using DRY
7931
steps:
80-
<<<<<<< HEAD
81-
- uses: actions/checkout@v2
82-
- uses: actions/setup-node@v2
83-
with:
84-
node-version: ${{ matrix.node }}
85-
- name: Install npm dependencies
86-
run: npm install
87-
- name: Print put node & npm version
88-
run: node --version && npm --version
89-
- name: Install chromium
90-
# package.json specifies 1.49.X; we need to align to ensure the correct browser binaries are installed as playwright may push new releases
91-
run: npx [email protected] install chromium
92-
- name: Run unit test
93-
run: npm run test
94-
95-
latest_nodejs_testing_node23:
96-
name: 'Latest nodejs v23 test'
97-
needs: basic_node_test
98-
runs-on: ubuntu-latest
99-
steps:
100-
- uses: actions/checkout@v2
101-
- uses: actions/setup-node@v2
102-
with:
103-
node-version: 23
104-
- name: Install npm dependencies
105-
run: npm install
106-
- name: Print put node & npm version
107-
run: node --version && npm --version
108-
- name: Install chromium
109-
# package.json specifies 1.49.X; we need to align to ensure the correct browser binaries are installed as playwright may push new releases
110-
run: npx [email protected] install chromium
111-
- name: Run unit test
112-
run: npm run test
113-
=======
11432
- uses: actions/checkout@v4
11533
- name: Install pnpm
11634
uses: pnpm/action-setup@v4
@@ -128,4 +46,3 @@ jobs:
12846
run: npx playwright install chromium
12947
- name: Run unit test
13048
run: pnpm run test
131-
>>>>>>> master

0 commit comments

Comments
 (0)