Add Security Considerations to spec and cryptographic chain verification #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: TypeScript CI | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "reference/typescript/**" | |
| - "conformance/**" | |
| - "spec/**" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "reference/typescript/**" | |
| - "conformance/**" | |
| - "spec/**" | |
| permissions: | |
| contents: read | |
| defaults: | |
| run: | |
| working-directory: reference/typescript | |
| jobs: | |
| typecheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 | |
| with: | |
| node-version: "22" | |
| - run: npm ci | |
| - run: npx tsc --noEmit | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: ["20", "22"] | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm ci | |
| - run: npx vitest run | |
| conformance: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 | |
| with: | |
| node-version: "22" | |
| - run: npm ci | |
| - run: npx vitest run __tests__/conformance.test.ts |