-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 889 Bytes
/
Copy pathci.yml
File metadata and controls
40 lines (32 loc) · 889 Bytes
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
name: Build and Test
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
jobs:
lint-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Use Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: 'lts/*'
check-latest: true
package-manager-cache: false
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
name: Install pnpm
with:
run_install: |
- recursive: true
args: [--no-frozen-lockfile]
- args: [--global, esbuild]
- uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2.0.2
- name: build
run: bun run build
- name: lint
run: bun run lint