-
-
Notifications
You must be signed in to change notification settings - Fork 55
50 lines (39 loc) · 884 Bytes
/
linting.yml
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
41
42
43
44
45
46
47
48
49
50
name: Linting
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 18
- name: Environment Information
run: |
node --version
npm --version
- name: Setup
run: |
brew install ktlint
brew install swiftlint
swiftlint version
- name: Install dependencies
run: |
npm ci
- name: Linting
run: npm run lint
auto-merge:
runs-on: ubuntu-latest
needs: build
permissions:
pull-requests: write
contents: write
steps:
- name: Automatically merge dependabot upgrades
uses: fastify/[email protected]
with:
target: minor