Skip to content

Commit e1e12af

Browse files
committed
ci: remove legacy job after support removal by mocha
1 parent 66934a4 commit e1e12af

File tree

1 file changed

+22
-70
lines changed

1 file changed

+22
-70
lines changed

.github/workflows/publish.yml

Lines changed: 22 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -29,76 +29,28 @@ jobs:
2929
node-version: ${{ matrix.node-version }}
3030
- run: npm install
3131
- run: npm run test
32-
test_legacy:
33-
needs: [is_release]
34-
if: ${{ needs.is_release.outputs.type == '::norelease::' }}
35-
runs-on: ubuntu-latest
36-
strategy:
37-
matrix:
38-
node-version: [14.x]
39-
steps:
40-
- uses: actions/checkout@v4
41-
with:
42-
fetch-depth: 0
43-
- name: Use Node.js ${{ matrix.node-version }}
44-
uses: actions/setup-node@v4
45-
with:
46-
node-version: ${{ matrix.node-version }}
47-
- run: |
48-
cwd=`pwd`
49-
for pkg in packages/*/package.json; do
50-
cd $cwd/`dirname $pkg`
51-
npm install
52-
npm run test:legacy;
53-
done
54-
# - run: |
55-
# echo 'Test csv generate'
56-
# cwd=`pwd`
57-
# cd $cwd/packages/csv-generate
58-
# npm install
59-
# npm run test:legacy
60-
# npm link
61-
# cd $pwd
62-
# - run: |
63-
# echo 'Test stream transform'
64-
# cwd=`pwd`
65-
# cd $cwd/packages/stream-transform
66-
# npm install
67-
# npm link csv-generate
68-
# npm run test:legacy
69-
# npm link
70-
# cd $pwd
71-
# - run: |
72-
# echo 'Test csv parse'
73-
# cwd=`pwd`
74-
# cd $cwd/packages/csv-parse
75-
# npm install
76-
# npm link csv-generate
77-
# npm link stream-transform
78-
# npm run test:legacy
79-
# npm link
80-
# cd $pwd
81-
# - run: |
82-
# echo 'Test csv stringify'
83-
# cwd=`pwd`
84-
# cd $cwd/packages/csv-stringify
85-
# npm install
86-
# npm link csv-generate
87-
# npm run test:legacy
88-
# npm link
89-
# cd $pwd
90-
# - run: |
91-
# echo 'Test csv'
92-
# cwd=`pwd`
93-
# cd $cwd/packages/csv
94-
# npm install
95-
# npm link csv-generate
96-
# npm link csv-parse
97-
# npm link csv-stringify
98-
# npm link stream-transform
99-
# npm run test:legacy
100-
# npm link
101-
# cd $pwd
32+
# test_legacy:
33+
# needs: [is_release]
34+
# if: ${{ needs.is_release.outputs.type == '::norelease::' }}
35+
# runs-on: ubuntu-latest
36+
# strategy:
37+
# matrix:
38+
# node-version: [14.x]
39+
# steps:
40+
# - uses: actions/checkout@v4
41+
# with:
42+
# fetch-depth: 0
43+
# - name: Use Node.js ${{ matrix.node-version }}
44+
# uses: actions/setup-node@v4
45+
# with:
46+
# node-version: ${{ matrix.node-version }}
47+
# - run: |
48+
# cwd=`pwd`
49+
# for pkg in packages/*/package.json; do
50+
# cd $cwd/`dirname $pkg`
51+
# npm install
52+
# npm run test:legacy;
53+
# done
10254
publish:
10355
needs: [is_release, test]
10456
if: ${{ needs.is_release.outputs.type == '::release::' }}

0 commit comments

Comments
 (0)