Skip to content
Myr

test.yml

This file

Path

.github/workflows/test.yml

32 lines · 1.0 KiB · YAML

Last changed by

chore: coverage fix #2Michel Weststratebefore adoptioncedc606

History of this file

Take it

chore: setup GH action for testMichel Weststratebefore adoptionc59576a

lines 1–12why, one step back
1# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions34name: Test56on: ["push", "pull_request"]78jobs:9 build:10 runs-on: ubuntu-latest11 strategy:12 matrix:

Chore: bump node version for github actions (#1166)Michel Weststratebefore adoption3629a51

line 13why, one step back
13 node-version: [20.x]

chore: setup GH action for testMichel Weststratebefore adoptionc59576a

lines 14–15why, one step back
14 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
15 steps:

fix: Upgrade Github actions to Node 16 attempt 1Michel Weststratebefore adoption9d4ea93

line 16why, one step back
16 - uses: actions/checkout@v3

chore: fix CI. maybe.Michel Weststratebefore adoption050522d

line 17why, one step back
17 - name: Use Node.js ${{ matrix.node-version }}

fix: Upgrade Github actions to Node 16 attempt 1Michel Weststratebefore adoption9d4ea93

line 18why, one step back
18 uses: actions/setup-node@v3

chore: fix CI. maybe.Michel Weststratebefore adoption050522d

lines 19–26why, one step back
19 with:
20 node-version: ${{ matrix.node-version }}21 cache: "yarn"22 - name: yarn install23 run: yarn --frozen-lockfile24 - name: test25 run: yarn test26 - name: coverage test

chore: coverage fix #2Michel Weststratebefore adoptioncedc606

line 27why, one step back
27 run: yarn coverage

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

lines 28–29why, one step back
28 - name: perf test
29 run: yarn test:perf

chore: fix CI. maybe.Michel Weststratebefore adoption050522d

lines 30–32why, one step back
30 - uses: coverallsapp/github-action@v1.1.2
31 with:32 github-token: ${{ secrets.GITHUB_TOKEN }}