Skip to content

Commit 5c84af9

Browse files
committed
ci: use npm 7 on Node 10
1 parent 451fbd5 commit 5c84af9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- uses: actions/setup-node@v6
1919
with:
2020
node-version: ${{ matrix.node-version }}
21+
- run: if [ "${{ matrix.node-version }}" = "10" ]; then npm install -g npm@7; fi
2122
- run: npm ci
2223
- run: npm install sequelize@${{ matrix.sequelize-version }}
2324
- run: docker compose up -d ${DIALECT}
@@ -39,6 +40,7 @@ jobs:
3940
- uses: actions/setup-node@v6
4041
with:
4142
node-version: ${{ matrix.node-version }}
43+
- run: if [ "${{ matrix.node-version }}" = "10" ]; then npm install -g npm@7; fi
4244
- run: npm ci
4345
- run: npm install sequelize@${{ matrix.sequelize-version }}
4446
- run: docker compose up -d ${DIALECT}
@@ -59,6 +61,7 @@ jobs:
5961
- uses: actions/setup-node@v6
6062
with:
6163
node-version: ${{ matrix.node-version }}
64+
- run: if [ "${{ matrix.node-version }}" = "10" ]; then npm install -g npm@7; fi
6265
- run: npm ci
6366
- run: npm install sequelize@${{ matrix.sequelize-version }}
6467
- run: npm test

0 commit comments

Comments
 (0)