Skip to content

Main

Main #217

Workflow file for this run

name: Main
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
push:
branches:
- main
permissions:
actions: write
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18]
name: Node ${{ matrix.node }} sample
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- uses: qltysh/qlty-action/coverage@main
with:
coverage-token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
files: coverage/lcov.info