Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

docs(README): this repo is archived #1529

docs(README): this repo is archived

docs(README): this repo is archived #1529

Workflow file for this run

name: Test
on:
push:
branches:
- beta
- main
- renovate/**
pull_request:
branches:
- beta
- main
env:
NODE_VERSION: 18
jobs:
lint:
name: Lint
runs-on: [ubuntu-latest]
timeout-minutes: 5
strategy:
matrix:
target: [js, hbs]
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/[email protected]
with:
version: ^7.17.1
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Lint ${{ matrix.target }}
run: pnpm lint:${{ matrix.target }}
test:
name: Tests
needs: [lint]
runs-on: [ubuntu-latest]
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/[email protected]
with:
version: ^7.17.1
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Run tests
run: pnpm test
env:
COVERAGE: true
- name: upload coverage report to codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage/lcov.info