mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05:00
35 lines
809 B
YAML
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
|