-
Notifications
You must be signed in to change notification settings - Fork 6
40 lines (33 loc) · 846 Bytes
/
main.yml
File metadata and controls
40 lines (33 loc) · 846 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: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Begin CI...
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0
name: Install pnpm
id: pnpm-install
- name: Use Node 20
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '20'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
env:
CI: true
- name: Lint
run: pnpm lint
env:
CI: true
- name: Test
run: pnpm test
continue-on-error: true
env:
CI: true
- name: Build
run: pnpm build
env:
CI: true