-
Notifications
You must be signed in to change notification settings - Fork 237
35 lines (28 loc) · 956 Bytes
/
main.yml
File metadata and controls
35 lines (28 loc) · 956 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
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '22'
- name: install pnpm
run: npm install -g pnpm@10.10.0
- name: pnpm install
run: pnpm install
- name: lint
run: pnpm run lint
- name: build
run: pnpm run build
# Not deploying the example here, but make sure it builds without errors
- name: build-example
run: pnpm run build:live-example
- name: test
run: pnpm run test:ci
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: gregjacobs/Autolinker.js