-
-
Notifications
You must be signed in to change notification settings - Fork 6
29 lines (28 loc) · 626 Bytes
/
Copy pathlint.yaml
File metadata and controls
29 lines (28 loc) · 626 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
name: yarnci-lint
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
contents: read
jobs:
yarnci:
permissions:
contents: read # for actions/checkout to fetch code
pull-requests: read # for yarnci/yarnci-lint-action to fetch pull requests
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up Node.js
uses: actions/setup-node@v6
with:
cache: npm
node-version: lts/*
- name: install
run: npm install --frozen-lockfile
- name: lint
run: npm run lint