Skip to content
Myr

main.yml

This file

Path

.github/workflows/main.yml

29 lines · 692 bytes · YAML

Last changed by

Do not fail CI on Codecov errors (#596)ehmickybefore adoptiona85766d

History of this file

Take it

Move to GitHub ActionsSindre Sorhusbefore adoption6ef29a4

lines 1–6why, one step back
1name: CI
2on:3 - push4 - pull_request5jobs:6 test:

Meta tweaksSindre Sorhusbefore adoption4103ae9

line 7why, one step back
7 name: Node.js ${{ matrix.node-version }} on ${{ matrix.os }}

Move to GitHub ActionsSindre Sorhusbefore adoption6ef29a4

lines 8–11why, one step back
8 runs-on: ${{ matrix.os }}
9 strategy:10 fail-fast: false11 matrix:

Meta tweaksSindre Sorhusbefore adoption4103ae9

line 12why, one step back
12 node-version:

Require Node.js 16 (#569)ehmickybefore adoption65992b4

line 13why, one step back
13 - 20

Drop support for Node 12 (#497)ehmickybefore adoptiona09cbc0

line 14why, one step back
14 - 18

Move to GitHub ActionsSindre Sorhusbefore adoption6ef29a4

lines 15–17why, one step back
15 os:
16 - ubuntu-latest17 - macos-latest

Re-enable Windows in CI (#500)ehmickybefore adoption071d0a2

line 18why, one step back
18 - windows-latest

Move to GitHub ActionsSindre Sorhusbefore adoption6ef29a4

line 19why, one step back
19 steps:

Require Node.js 18Sindre Sorhusbefore adoption834e372

lines 20–21why, one step back
20 - uses: actions/checkout@v4
21 - uses: actions/setup-node@v4

Move to GitHub ActionsSindre Sorhusbefore adoption6ef29a4

line 22why, one step back
22 with:

Meta tweaksSindre Sorhusbefore adoption4103ae9

line 23why, one step back
23 node-version: ${{ matrix.node-version }}

Move to GitHub ActionsSindre Sorhusbefore adoption6ef29a4

lines 24–25why, one step back
24 - run: npm install
25 - run: npm test

Require Node.js 18Sindre Sorhusbefore adoption834e372

line 26why, one step back
26 - uses: codecov/codecov-action@v3

Require Node.js 16 (#569)ehmickybefore adoption65992b4

line 27why, one step back
27 if: matrix.os == 'ubuntu-latest' && matrix.node-version == 20

Move to GitHub ActionsSindre Sorhusbefore adoption6ef29a4

line 28why, one step back
28 with:

Do not fail CI on Codecov errors (#596)ehmickybefore adoptiona85766d

line 29why, one step back
29 fail_ci_if_error: false