Merge pull request #582 from myrotvorets/renovate/lock-file-maintenance #1286
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Build and Test | |
on: | |
push: | |
branches: | |
- "**" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Build and test (Node ${{ matrix.node.name }}) | |
permissions: | |
contents: read | |
packages: read | |
runs-on: ubuntu-latest | |
if: ${{ !contains(github.event.head_commit.message, '[ci skip]') || github.event_name == 'workflow_dispatch' }} | |
strategy: | |
matrix: | |
node: | |
- { name: Current, version: current } | |
- { name: LTS, version: lts/* } | |
- { name: Previous LTS, version: lts/-1 } | |
steps: | |
- 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 |