chore(deps): update dependency cross-fetch to v4.1.0 (#1081) #1502
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: Build & Test CI | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- "*" | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
permissions: | |
contents: read | |
name: Build and test (Node.js ${{ matrix.node.name }}) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: | |
- name: LTS | |
version: lts/* | |
- name: Current | |
version: node | |
- name: Previous LTS | |
version: lts/-1 | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Node.js environment | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: ${{ matrix.node.version }} | |
cache: npm | |
- name: Clean install and test | |
run: npm cit | |
release: | |
permissions: | |
contents: write | |
name: Prepare the release | |
runs-on: ubuntu-latest | |
needs: build | |
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Create a release | |
uses: softprops/action-gh-release@7b4da11513bf3f43f9999e90eabced41ab8bb048 # v2.2.0 | |
with: | |
generate_release_notes: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.REPOSITORY_ACCESS_TOKEN }} | |