Skip to content

Commit

Permalink
chore: bump dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Nov 10, 2022
1 parent 9b9e2af commit 683d33f
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 8,565 deletions.
30 changes: 13 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
node-version: lts/hydrogen # 18
cache: 'npm'
check-latest: true
- name: Install dependencies
run: npm clean-install
- run: npm clean-install
- id: cache-key
run: echo "value=dist-${{ hashFiles('src/**/*.ts', 'tsconfig/*.json', '.github/workflows/*.yml', 'package-lock.json') }}" >> $GITHUB_OUTPUT
- name: Cache dist
Expand Down Expand Up @@ -65,8 +64,9 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
check-latest: true
- name: Install dependencies
run: npm clean-install
- run: npm install --global npm@8
if: ${{ startsWith(steps.node.outputs.node-version, 'v12') || startsWith(steps.node.outputs.node-version, 'v14') }}
- run: npm clean-install
- name: Load cached dist
uses: actions/cache@v3
id: dist
Expand All @@ -81,7 +81,9 @@ jobs:
- name: Test (TAP)
run: npm run tap:node
if: ${{ !startsWith(steps.node.outputs.node-version, 'v12') }}
- run: find test -type f -name '*.mjs' -print0 | xargs -0 sed -i -e "s/await import(/require(/g"
- run: |
find test -type f -name '*.mjs' -print0 | xargs -0 sed -i -e "s/await import(/require(/g"
npm install --save-dev ava@4
if: ${{ startsWith(steps.node.outputs.node-version, 'v12') }}
- name: Test (AVA)
run: npm run test
Expand Down Expand Up @@ -115,8 +117,7 @@ jobs:
node-version: lts/hydrogen # 18
cache: 'npm'
check-latest: true
- name: Install dependencies
run: npm clean-install
- run: npm clean-install
- name: Test Deno
run: npm run tap:deno

Expand Down Expand Up @@ -146,8 +147,7 @@ jobs:
node-version: lts/hydrogen # 18
cache: 'npm'
check-latest: true
- name: Install dependencies
run: npm clean-install
- run: npm clean-install
- name: Test Bun
run: npm run tap:bun

Expand All @@ -164,8 +164,7 @@ jobs:
node-version: lts/hydrogen # 18
cache: 'npm'
check-latest: true
- name: Install dependencies
run: npm clean-install
- run: npm clean-install
- name: Load cached dist
uses: actions/cache@v3
id: dist
Expand Down Expand Up @@ -193,8 +192,7 @@ jobs:
node-version: lts/hydrogen # 18
cache: 'npm'
check-latest: true
- name: Install dependencies
run: npm clean-install
- run: npm clean-install
- name: Load cached dist
uses: actions/cache@v3
id: dist
Expand Down Expand Up @@ -229,8 +227,7 @@ jobs:
node-version: lts/hydrogen # 18
cache: 'npm'
check-latest: true
- name: Install dependencies
run: npm clean-install
- run: npm clean-install
- name: Load cached dist
uses: actions/cache@v3
id: dist
Expand Down Expand Up @@ -260,8 +257,7 @@ jobs:
node-version: lts/hydrogen # 18
cache: 'npm'
check-latest: true
- name: Install dependencies
run: npm clean-install
- run: npm clean-install
- name: Load cached dist
uses: actions/cache@v3
id: dist
Expand Down
Loading

0 comments on commit 683d33f

Please sign in to comment.