Skip to content
Myr

test.yml

This file

Path

.github/workflows/test.yml

29 lines · 780 bytes · YAML

Last changed by

update pnpm etc (#3512)Daishi Katobefore adoption8476d2c

History of this file

Take it

ci(.github/workflows): add 'test.yml' and rename job (#3059)Wonsuk Choibefore adoption4597454

lines 1–8why, one step back
1name: Test
23on:4 push:5 branches: [main]6 pull_request:7 types: [opened, synchronize]8

workflow: stricter permissionsdaishibefore adoption889077c

lines 9–11why, one step back
9permissions:
10 contents: read11

ci(.github/workflows): add 'test.yml' and rename job (#3059)Wonsuk Choibefore adoption4597454

lines 12–15why, one step back
12jobs:
13 test:14 runs-on: ubuntu-latest15 steps:

ci(.github/workflows): pin GitHub Actions to commit hashes (#3381)Wonsuk Choibefore adoption7fc3991

line 16why, one step back
16 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

workflow: stricter permissions 2daishibefore adoption6784d1e

lines 17–18why, one step back
17 with:
18 persist-credentials: false

update pnpm etc (#3512)Daishi Katobefore adoption8476d2c

lines 19–20why, one step back
19 - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
20 - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0

ci(.github/workflows): add 'test.yml' and rename job (#3059)Wonsuk Choibefore adoption4597454

lines 21–29why, one step back
21 with:
22 node-version: 'lts/*'23 cache: 'pnpm'24 - run: pnpm install25 - run: pnpm run test:format26 - run: pnpm run test:types27 - run: pnpm run test:lint28 - run: pnpm run test:spec29 - run: pnpm run build # we don't have any other workflows to test build