Skip to content

Commit ebf988c

Browse files
Update indentation (#191)
1 parent 946f911 commit ebf988c

File tree

3 files changed

+59
-51
lines changed

3 files changed

+59
-51
lines changed

.github/workflows/publish.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
name: Publish NPM Package
22

33
on:
4-
push:
5-
tags:
6-
- '*'
4+
push:
5+
tags:
6+
- '*'
77

88
jobs:
9-
package:
10-
runs-on: ubuntu-latest
11-
name: Publish NPM Package
9+
package:
10+
runs-on: ubuntu-latest
11+
name: Publish NPM Package
1212

13-
steps:
14-
- name: Cloning repo
15-
uses: actions/checkout@v3
13+
steps:
14+
- name: Cloning repo
15+
uses: actions/checkout@v3
1616

17-
- uses: actions/setup-node@v4
18-
with:
19-
node-version: '18.x'
20-
registry-url: 'https://registry.npmjs.org'
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: '18.x'
20+
registry-url: 'https://registry.npmjs.org'
2121

22-
- run: npm ci
23-
- run: npm run deploy
24-
env:
25-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22+
- run: npm ci
23+
- run: npm run deploy
24+
env:
25+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
name: Unit/Integration Tests
22

33
on:
4-
pull_request:
5-
types:
6-
- opened
7-
- synchronize
8-
- reopened
9-
- ready_for_review
10-
push:
11-
branches:
12-
- main
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
- reopened
9+
- ready_for_review
10+
push:
11+
branches:
12+
- main
1313
jobs:
14-
build-and-test:
15-
strategy:
16-
matrix:
17-
node-version: [18.x, 20.x, 22.x]
18-
runs-on: ubuntu-latest
19-
steps:
20-
- uses: actions/checkout@v4
21-
with:
22-
submodules: true
23-
- uses: actions/setup-node@v4
24-
with:
25-
node-version: '${{ matrix.node-version }}'
26-
- name: cache node modules
27-
uses: actions/cache@v4
28-
with:
29-
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
30-
key: npm-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }}
31-
restore-keys: |
32-
npm-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }}
33-
npm-
34-
- run: npm ci
35-
- run: npm test
36-
env:
37-
CI: true
14+
build-and-test:
15+
strategy:
16+
matrix:
17+
node-version: [18.x, 20.x, 22.x]
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
with:
22+
submodules: true
23+
- uses: actions/setup-node@v4
24+
with:
25+
node-version: '${{ matrix.node-version }}'
26+
- name: cache node modules
27+
uses: actions/cache@v4
28+
with:
29+
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
30+
key: npm-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }}
31+
restore-keys: |
32+
npm-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }}
33+
npm-
34+
- run: npm ci
35+
- run: npm test
36+
env:
37+
CI: true

.prettierrc.cjs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,13 @@ module.exports = {
55
tabWidth: 4,
66
trailingComma: 'none',
77
useTabs: false,
8-
arrowParens: 'avoid'
8+
arrowParens: 'avoid',
9+
overrides: [
10+
{
11+
files: ['*.yml', '*.yaml'],
12+
options: {
13+
tabWidth: 2
14+
}
15+
}
16+
]
917
};

0 commit comments

Comments
 (0)