chore(deps-dev): Bump isomorphic-unfetch from 3.1.0 to 4.0.2 #1298
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '!*' | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
test: | |
name: Node ${{ matrix.node }} and ${{ matrix.os }} | |
timeout-minutes: 30 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
node: [16, 18, 20] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
# https://github.com/nodejs/node-gyp#installation | |
- name: Use Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
node-version: ${{ matrix.node }} | |
check-latest: true | |
- name: Install Dependencies | |
run: yarn global add node-gyp && yarn install --frozen-lockfile | |
- name: Build Test Binary | |
run: yarn build-test-binary | |
- name: Build | |
run: yarn build | |
- name: Run Tests | |
run: yarn test | |
- name: Coverage | |
if: matrix.os == 'ubuntu-latest' && matrix.node == 20 # only run once | |
run: yarn test-coverage | |
- name: Maybe Release | |
if: matrix.os == 'ubuntu-latest' && matrix.node == 20 && github.event_name == 'push' && github.ref == 'refs/heads/main' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN_ELEVATED }} | |
run: npx [email protected] |