Skip to content

Commit c099c7a

Browse files
authored
try fix ci (#702)
tried pushing a workaround to nodejs/corepack#612 but there's a problem on windows. opening a pr to work on it and prevent noise on main Co-authored-by: Misha Kaletsky <[email protected]>
1 parent 0beb147 commit c099c7a

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: windows-latest
1818
steps:
1919
- uses: actions/checkout@v4
20-
- run: npm install -g [email protected] # todo: delete if https://github.com/nodejs/corepack/issues/612 is resolved
20+
- run: npm install -g [email protected] --force # todo: delete if https://github.com/nodejs/corepack/issues/612 is resolved
2121
- run: corepack enable
2222
- run: pnpm install
2323
- run: pnpm test
@@ -32,7 +32,7 @@ jobs:
3232
- run: npm pack
3333
- name: rename tgz
3434
run: mv $(ls | grep .tgz) umzug.tgz
35-
- uses: actions/upload-artifact@v3
35+
- uses: actions/upload-artifact@v4
3636
with:
3737
name: tarball
3838
path: umzug.tgz
@@ -47,17 +47,20 @@ jobs:
4747
with:
4848
node-version: ${{ matrix.node }}
4949
- uses: actions/checkout@v4
50-
- uses: actions/download-artifact@v3
50+
- uses: actions/download-artifact@v4
5151
with:
5252
name: tarball
5353
- run: ls
54-
- run: rm -rf examples/node_modules
55-
- name: run vanilla example
54+
- name: remove local node_modules
55+
run: rm -rf examples/node_modules
56+
- name: install tgz
5657
working-directory: examples/0-vanilla
5758
run: |
5859
npm init -y
5960
npm install ../../umzug.tgz
60-
61+
- name: run vanilla example
62+
working-directory: examples/0-vanilla
63+
run: |
6164
node migrate up
6265
node migrate down
6366
node migrate create --name new-migration.js

0 commit comments

Comments
 (0)