Merge pull request #976 from myrotvorets/renovate/codecov-codecov-act… #2796
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 and Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build and test (Node ${{ matrix.node.name }}) | |
permissions: | |
contents: read | |
packages: read | |
strategy: | |
fail-fast: false | |
matrix: | |
node: | |
- { name: Current, version: current } | |
- { name: LTS, version: lts/* } | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
submodules: true | |
- name: Build and test | |
uses: myrotvorets/composite-actions/build-test-nodejs@master | |
with: | |
node-version: ${{ matrix.node.version }} | |
registry-url: https://npm.pkg.github.com |