Files
compiler-explorer/.github/workflows/test-win.yml
2025-06-09 20:24:08 +02:00

35 lines
809 B
YAML

name: Compiler Explorer on Windows
on: [push, pull_request]
jobs:
test:
runs-on: windows-2022
steps:
- name: Ask Git to use LF line endings
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
check-latest: true
cache: npm
- name: Install prerequisites
run: make prereqs
- name: Lint
run: npm run lint-check
shell: cmd
- name: Typescript check
run: npm run ts-check
shell: cmd
- name: Test
run: npm run test
shell: cmd