-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (39 loc) · 1 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: windows-latest
steps:
- uses: Vampire/setup-wsl@v5
- name: Set Git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: |
pnpm install
pnpm add concurrently
- name: Test
run: pnpm concurrently "pnpm test" "pnpm typecheck" "pnpm lint"
env:
ACCESS_KEY: ${{ secrets.ACCESS_KEY }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
S3_BUCKET: ${{ secrets.S3_BUCKET }}
AWS_REGION: eu-central-1
WEBSOCKET_URL: ws://localhost:4321
LOCAL_DIR: unused
PORT: 4321