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 fileTake it
chore: setup GH action for testMichel Weststratebefore adoptionc59576a
lines 1–12why, one step back1# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node2# 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 back13 node-version: [20.x]chore: setup GH action for testMichel Weststratebefore adoptionc59576a
lines 14–15why, one step back14 # 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 back16 - uses: actions/checkout@v3chore: fix CI. maybe.Michel Weststratebefore adoption050522d
line 17why, one step back17 - name: Use Node.js ${{ matrix.node-version }}fix: Upgrade Github actions to Node 16 attempt 1Michel Weststratebefore adoption9d4ea93
line 18why, one step back18 uses: actions/setup-node@v3chore: fix CI. maybe.Michel Weststratebefore adoption050522d
lines 19–26why, one step back19 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 testchore: coverage fix #2Michel Weststratebefore adoptioncedc606
line 27why, one step back27 run: yarn coverageMerge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42
lines 28–29why, one step back28 - name: perf test29 run: yarn test:perfchore: fix CI. maybe.Michel Weststratebefore adoption050522d
lines 30–32why, one step back30 - uses: coverallsapp/github-action@v1.1.231 with:32 github-token: ${{ secrets.GITHUB_TOKEN }}