-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (41 loc) · 959 Bytes
/
qiita_test.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
name: Qiita - Test
on:
push:
paths:
- 'qiita/**'
- '.github/workflows/qiita_test.yml'
permissions:
contents: read
packages: read
issues: read
defaults:
run:
shell: bash
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
textlint:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: 'yarn'
- run: yarn install
- run: yarn workspace qiita textlint:codecov
- uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- run: yarn workspace qiita textlint
prettier:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: 'yarn'
- run: yarn install
- run: yarn workspace qiita prettier