Skip to content

Commit

Permalink
feat: update eslint dependencies, fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
brandongregoryscott committed Jun 22, 2024
1 parent b4ce27b commit ff90be4
Show file tree
Hide file tree
Showing 23 changed files with 983 additions and 526 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@
"typescript-sort-keys",
"@typescript-eslint"
],
"rules": {}
"rules": {
"@typescript-eslint/sort-type-union-intersection-members": "off"
}
}
11 changes: 5 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,17 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: always()

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup node 14.18
uses: actions/setup-node@v2
- name: Setup node 18.16.0
uses: actions/setup-node@v4
with:
node-version: 14.18
node-version: 18.16.0

- name: npm install
run: npm install
run: npm ci

- name: npm run format:check
run: npm run format:check
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,15 @@ jobs:
name: semantic-release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v2
- name: Setup node 18.16.0
uses: actions/setup-node@v4
with:
node-version: "lts/*"
node-version: 18.16.0

- name: npm install
run: npm install
run: npm ci

# This should have already been done at the PR step, but just to sanity check
- name: npm run build:dist
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/smoke-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v2
- name: Setup node 18.16.0
uses: actions/setup-node@v4
with:
node-version: 14.15.5
node-version: 18.16.0

- run: npm install
- run: npm ci
- run: npm install -g yalc
- run: npm run build
- run: yalc publish --no-scripts
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
18.16.0
Loading

0 comments on commit ff90be4

Please sign in to comment.