Skip to content

Merge pull request #46 from myrotvorets/renovate/softprops-action-gh-… #100

Merge pull request #46 from myrotvorets/renovate/softprops-action-gh-…

Merge pull request #46 from myrotvorets/renovate/softprops-action-gh-… #100

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Build and Test
on:
push:
branches:
- "**"
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: Build and test (Node ${{ matrix.node.name }})
runs-on: ubuntu-latest
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 }}
lint:
name: Check Code Style
runs-on: ubuntu-latest
steps:
- name: Run code style check
uses: myrotvorets/composite-actions/node-run-script@master
with:
script: lint
typecheck:
name: Check Types
runs-on: ubuntu-latest
steps:
- name: Run type check
uses: myrotvorets/composite-actions/node-run-script@master
with:
script: typecheck