Skip to content
This repository was archived by the owner on Dec 25, 2023. It is now read-only.

Commit 363f425

Browse files
committed
Lint yml
1 parent a9227bf commit 363f425

File tree

3 files changed

+21
-22
lines changed

3 files changed

+21
-22
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,29 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- master
77
pull_request:
88
branches:
9-
- master
9+
- master
1010

1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v2
1717

18-
- name: Setup Node.js environment
19-
uses: actions/[email protected]
18+
- name: Setup Node.js environment
19+
uses: actions/[email protected]
2020

21-
- name: Install dependencies
22-
run: yarn
21+
- name: Install dependencies
22+
run: yarn
2323

24-
- name: Lint
25-
run: yarn lint
24+
- name: Lint
25+
run: yarn lint
2626

27-
- name: Build
28-
run: yarn build
29-
30-
- name: Test
31-
run: yarn test
27+
- name: Build
28+
run: yarn build
3229

30+
- name: Test
31+
run: yarn test

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ name: Release management
22

33
on:
44
release:
5-
types: [published]
5+
types: [published]
66

77
jobs:
88
release:
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-latest
1010

11-
steps:
12-
- uses: apexskier/github-release-commenter@v1
13-
with:
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11+
steps:
12+
- uses: apexskier/github-release-commenter@v1
13+
with:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
"test": "jest",
1010
"lint": "concurrently 'yarn:lint:*'",
1111
"lint:eslint": "eslint --ignore-path .gitignore \"**/*.{ts,js}\"",
12-
"lint:prettier": "prettier --ignore-path .gitignore --check \"**/*.{ts,js,json,md}\"",
12+
"lint:prettier": "prettier --ignore-path .gitignore --check \"**/*.{ts,js,json,md,yml}\"",
1313
"lint:json": "find . -name node_modules -prune -false -o -type f -name '*.json' -exec node -e 'require(\"{}\")' \\;",
1414
"fix": "concurrently 'yarn:fix:*'",
1515
"fix:eslint": "eslint --fix --ignore-path .gitignore \"**/*.{ts,js}\"",
16-
"fix:prettier": "prettier --ignore-path .gitignore --write \"**/*.{ts,js,json,md}\"",
16+
"fix:prettier": "prettier --ignore-path .gitignore --write \"**/*.{ts,js,json,md,yml}\"",
1717
"watch": "onchange -i \"src/**\" \"rollup.*.js\" -- npm run build"
1818
},
1919
"repository": {

0 commit comments

Comments
 (0)