Skip to content

Main

Main #8

Workflow file for this run

name: Main
on:
workflow_dispatch:
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: qltyai/qlty-action/coverage@main
with:
coverage-token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
file: coverage/lcov.info