Skip to content

Commit 686bd67

Browse files
MrRefactoringlaritikkanenAlexXanderGrib
authored
Release: v1.7.3 (#138)
* v1.7.3 * Use expand parameter in getContentByTypeForSpace (#137) * Use expand parameter in getContentByTypeForSpace * Use expand parameter in getContentForSpace * fix: getContentComments expand field not being used (#139) * CI/CD Changes --------- Co-authored-by: Lari Tikkanen <[email protected]> Co-authored-by: Alexander G <[email protected]>
1 parent 6c835f8 commit 686bd67

26 files changed

+1887
-1855
lines changed

.eslintrc

Lines changed: 0 additions & 128 deletions
This file was deleted.

.eslintrc.yml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
parser: "@typescript-eslint/parser"
2+
extends:
3+
- airbnb-base
4+
parserOptions:
5+
ecmaVersion: 2018
6+
project: ./tsconfig.lint.json
7+
plugins:
8+
- import
9+
env:
10+
node: true
11+
browser: true
12+
rules:
13+
"@typescript-eslint/lines-between-class-members": off
14+
arrow-parens:
15+
- error
16+
- as-needed
17+
class-methods-use-this: off
18+
eol-last: error
19+
import/extensions: off
20+
import/no-cycle: off
21+
import/no-unresolved: off
22+
import/prefer-default-export: off
23+
linebreak-style:
24+
- error
25+
- unix
26+
lines-between-class-members: off
27+
max-len: off
28+
no-trailing-spaces: error
29+
no-underscore-dangle: off
30+
no-dupe-class-members: off
31+
no-unused-vars: off
32+
no-useless-constructor: off
33+
no-empty-function: off
34+
no-param-reassign: off
35+
no-shadow: off
36+
no-redeclare: off
37+
padding-line-between-statements:
38+
- error
39+
- blankLine: always
40+
prev: "*"
41+
next:
42+
- block
43+
- block-like
44+
- cjs-export
45+
- class
46+
- const
47+
- export
48+
- import
49+
- let
50+
- var
51+
- blankLine: always
52+
prev:
53+
- block
54+
- block-like
55+
- cjs-export
56+
- class
57+
- const
58+
- export
59+
- import
60+
- let
61+
- var
62+
next: "*"
63+
- blankLine: any
64+
prev:
65+
- const
66+
- let
67+
- var
68+
next:
69+
- const
70+
- let
71+
- var
72+
- blankLine: never
73+
prev:
74+
- import
75+
next:
76+
- import
77+
- blankLine: always
78+
prev:
79+
- import
80+
next:
81+
- export
82+
- blankLine: any
83+
prev:
84+
- export
85+
next:
86+
- export
87+
settings:
88+
import/parsers:
89+
"@typescript-eslint/parser":
90+
- .ts
91+

.github/workflows/ci.yaml

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ on: push
44
jobs:
55
build:
66
name: Build
7-
runs-on: self-hosted
7+
runs-on: ubuntu-latest
88
strategy:
99
matrix:
1010
node-version: [16.x, 18.x, 20.x]
1111
steps:
1212
- name: Checkout sources
1313
uses: actions/checkout@v4
1414
- name: Use Node.js ${{ matrix.node-version }}
15-
uses: actions/setup-node@v3
15+
uses: actions/setup-node@v4
1616
with:
1717
node-version: ${{ matrix.node-version }}
1818
- name: Installing dependencies
@@ -23,11 +23,16 @@ jobs:
2323
lint:
2424
name: Lint Code
2525
needs: build
26-
runs-on: self-hosted
27-
strategy:
28-
matrix:
29-
node-version: [20.x]
26+
runs-on: ubuntu-latest
3027
steps:
28+
- name: Checkout sources
29+
uses: actions/checkout@v4
30+
- name: Use Node.js 18.x
31+
uses: actions/setup-node@v4
32+
with:
33+
node-version: 18.x
34+
- name: Installing dependencies
35+
run: npm ci
3136
- name: Linting
3237
run: npm run lint
3338
env:
@@ -36,11 +41,16 @@ jobs:
3641
test_unit:
3742
name: Unit Tests
3843
needs: build
39-
runs-on: self-hosted
40-
strategy:
41-
matrix:
42-
node-version: [18.x, 20.x]
44+
runs-on: ubuntu-latest
4345
steps:
46+
- name: Checkout sources
47+
uses: actions/checkout@v4
48+
- name: Use Node.js 18.x
49+
uses: actions/setup-node@v4
50+
with:
51+
node-version: 18.x
52+
- name: Installing dependencies
53+
run: npm ci
4454
- name: Running unit tests
4555
run: npm run test:unit
4656

@@ -49,12 +59,18 @@ jobs:
4959
needs:
5060
- lint
5161
- test_unit
52-
runs-on: self-hosted
62+
runs-on: ubuntu-latest
5363
strategy:
5464
max-parallel: 1
55-
matrix:
56-
node-version: [18.x, 20.x]
5765
steps:
66+
- name: Checkout sources
67+
uses: actions/checkout@v4
68+
- name: Use Node.js 18.x
69+
uses: actions/setup-node@v4
70+
with:
71+
node-version: 18.x
72+
- name: Installing dependencies
73+
run: npm ci
5874
- name: Creating `.env` file
5975
run: |
6076
touch .env

0 commit comments

Comments
 (0)