test.yml
This file
Path
.github/workflows/test.yml
31 lines · 1.0 KiB · YAML
Last changed by
ci: harden GitHub Actions workflows (SHA-pin, permissions, persist-credentials) (#1241)Mark Eriksonbefore adoption7cab3c2
History of this fileTake it
The walk stopped after 200 commits: lines older than 07f5cc9 point at it.
chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9
lines 1–7why, 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"]7ci: harden GitHub Actions workflows (SHA-pin, permissions, persist-credentials) (#1241)Mark Eriksonbefore adoption7cab3c2
lines 8–10why, one step back8permissions:9 contents: read10chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9
lines 11–14why, one step back11jobs:12 build:13 runs-on: ubuntu-latest14 steps:ci: harden GitHub Actions workflows (SHA-pin, permissions, persist-credentials) (#1241)Mark Eriksonbefore adoption7cab3c2
line 15why, one step back15 - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9
line 16why, one step back16 with:ci: harden GitHub Actions workflows (SHA-pin, permissions, persist-credentials) (#1241)Mark Eriksonbefore adoption7cab3c2
lines 17–19why, one step back17 persist-credentials: false18 - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.019 with:chore: bump node version in GH actionsMichel Weststratebefore adoptioncd4c011
line 20why, one step back20 node-version: 24chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9
lines 21–25why, one step back21 - name: yarn install22 run: yarn --frozen-lockfile23 - name: test24 run: yarn test25 - name: coverage testchore: coverage fix #2Michel Weststratebefore adoptioncedc606
line 26why, one step back26 run: yarn coverageMerge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42
lines 27–28why, one step back27 - name: perf test28 run: yarn test:perfci: harden GitHub Actions workflows (SHA-pin, permissions, persist-credentials) (#1241)Mark Eriksonbefore adoption7cab3c2
line 29why, one step back29 - uses: coverallsapp/github-action@8cbef1dea373ebce56de0a14c68d6267baa10b44 # v1.1.2chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9
lines 30–31why, one step back30 with:31 github-token: ${{ secrets.GITHUB_TOKEN }}