Skip to content

Create popular-hats-dream.md #807

Create popular-hats-dream.md

Create popular-hats-dream.md #807

Workflow file for this run

name: CI
on:
- push
- pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
name: Lint and Test with Node.js ${{ matrix.node }} on ${{ matrix.os }}
strategy:
matrix:
node:
- 18
- 20
- 22
os:
- macos-latest
- windows-latest
- ubuntu-latest
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
with:
node-version: ${{ matrix.node }}
cache: yarn
- name: Install Dependencies
run: yarn --immutable
- name: Build, Lint and Test
run: yarn run-s build lint test typecov
env:
PARSER_NO_WATCH: true
- name: Benchmark
run: node benchmark
- name: Codecov
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Run codacy-coverage-reporter
# bad Windows -- https://github.com/codacy/codacy-coverage-reporter-action/issues/91
if: ${{ matrix.os != 'windows-latest' }}
uses: codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699 # v1
continue-on-error: true
with:
api-token: ${{ secrets.CODACY_API_TOKEN }}