-
Notifications
You must be signed in to change notification settings - Fork 201
39 lines (32 loc) · 898 Bytes
/
lint.yml
File metadata and controls
39 lines (32 loc) · 898 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
name: Commit Message Check on PR
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup .npmrc
run: |
echo "@tiptap-pro:registry=https://registry.tiptap.dev/" > .npmrc
echo "//registry.tiptap.dev/:_authToken=${{ secrets.TIPTAP_AUTH_TOKEN }}" >> .npmrc
env:
TIPTAP_AUTH_TOKEN: ${{ secrets.TIPTAP_AUTH_TOKEN }}
- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: 10.20.0
- name: Install Deps
run: pnpm i --no-frozen-lockfile
- name: Format
run: |
pnpm run format:ci
- name: Lint
run: pnpm run lint:ci