Skip to content

Commit 49fa1fd

Browse files
committed
chore: update github wrokflow files
1 parent 200e993 commit 49fa1fd

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Prettify code
3131
uses: creyD/[email protected]
3232
with:
33-
prettier_options: "--write src/**/*.{ts,jsx,js,css,html,json,md}"
33+
prettier_options: --write src/**/*.{ts,jsx,js,css,html,json,md}
3434
only_changed: True
3535
build:
3636
# The type of runner that the job will run on

.github/workflows/pr-check.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,28 @@ name: PR Safe Check
22

33
on:
44
pull_request:
5-
branches: [ develop ]
5+
branches: [develop]
66
types: [opened, synchronize, reopened]
77
push:
8-
branches: [ develop ]
8+
branches: [develop]
99

1010
jobs:
1111
build_check:
12-
1312
runs-on: ubuntu-latest
1413
strategy:
1514
matrix:
16-
node: [ '14', '16' ]
15+
node: ['14', '16']
1716
name: Node.js v${{ matrix.node }}
1817
steps:
19-
- name: 🛎 Checkout
20-
uses: actions/checkout@v2
21-
- name: 🚀 Use Node.js
22-
uses: actions/setup-node@v2
23-
with:
24-
node-version: ${{ matrix.node }}
25-
- name: ⚙️ Install dependencies
26-
run: npm install
27-
- name: 🔍 Run tests
28-
run: npm test
29-
- name: 🔨 Build the project
30-
run: npm run build
18+
- name: 🛎 Checkout
19+
uses: actions/checkout@v2
20+
- name: 🚀 Use Node.js
21+
uses: actions/setup-node@v2
22+
with:
23+
node-version: ${{ matrix.node }}
24+
- name: ⚙️ Install dependencies
25+
run: npm install
26+
- name: 🔍 Run tests
27+
run: npm test
28+
- name: 🔨 Build the project
29+
run: npm run build

0 commit comments

Comments
 (0)