Skip to content

Commit

Permalink
Release: v1.7.3 (#138)
Browse files Browse the repository at this point in the history
* 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 <134509353+laritikkanen@users.noreply.github.com>
Co-authored-by: Alexander G <alexxandergrib@gmail.com>
  • Loading branch information
3 people authored Mar 3, 2024
1 parent 6c835f8 commit 686bd67
Show file tree
Hide file tree
Showing 26 changed files with 1,887 additions and 1,855 deletions.
128 changes: 0 additions & 128 deletions .eslintrc

This file was deleted.

91 changes: 91 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
parser: "@typescript-eslint/parser"
extends:
- airbnb-base
parserOptions:
ecmaVersion: 2018
project: ./tsconfig.lint.json
plugins:
- import
env:
node: true
browser: true
rules:
"@typescript-eslint/lines-between-class-members": off
arrow-parens:
- error
- as-needed
class-methods-use-this: off
eol-last: error
import/extensions: off
import/no-cycle: off
import/no-unresolved: off
import/prefer-default-export: off
linebreak-style:
- error
- unix
lines-between-class-members: off
max-len: off
no-trailing-spaces: error
no-underscore-dangle: off
no-dupe-class-members: off
no-unused-vars: off
no-useless-constructor: off
no-empty-function: off
no-param-reassign: off
no-shadow: off
no-redeclare: off
padding-line-between-statements:
- error
- blankLine: always
prev: "*"
next:
- block
- block-like
- cjs-export
- class
- const
- export
- import
- let
- var
- blankLine: always
prev:
- block
- block-like
- cjs-export
- class
- const
- export
- import
- let
- var
next: "*"
- blankLine: any
prev:
- const
- let
- var
next:
- const
- let
- var
- blankLine: never
prev:
- import
next:
- import
- blankLine: always
prev:
- import
next:
- export
- blankLine: any
prev:
- export
next:
- export
settings:
import/parsers:
"@typescript-eslint/parser":
- .ts

42 changes: 29 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ on: push
jobs:
build:
name: Build
runs-on: self-hosted
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Installing dependencies
Expand All @@ -23,11 +23,16 @@ jobs:
lint:
name: Lint Code
needs: build
runs-on: self-hosted
strategy:
matrix:
node-version: [20.x]
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Installing dependencies
run: npm ci
- name: Linting
run: npm run lint
env:
Expand All @@ -36,11 +41,16 @@ jobs:
test_unit:
name: Unit Tests
needs: build
runs-on: self-hosted
strategy:
matrix:
node-version: [18.x, 20.x]
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Installing dependencies
run: npm ci
- name: Running unit tests
run: npm run test:unit

Expand All @@ -49,12 +59,18 @@ jobs:
needs:
- lint
- test_unit
runs-on: self-hosted
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Installing dependencies
run: npm ci
- name: Creating `.env` file
run: |
touch .env
Expand Down
Loading

0 comments on commit 686bd67

Please sign in to comment.