Skip to content

Commit

Permalink
Merge pull request #916 from KamiKillertO/update
Browse files Browse the repository at this point in the history
Some package updates before restarting devs
  • Loading branch information
KamiKillertO authored Oct 18, 2024
2 parents ec15019 + 0d2bdce commit e7663b5
Show file tree
Hide file tree
Showing 61 changed files with 4,667 additions and 2,722 deletions.
24 changes: 24 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
parserOptions: {
project: true,
tsconfigRootDir: __dirname,
},
extends: [
'plugin:@typescript-eslint/recommended-type-checked',
'plugin:prettier/recommended',
],
rules: {
'@typescript-eslint/ban-ts-comment': 'warn',
'@typescript-eslint/consistent-type-imports': 'error',
},
rules: {
indent: ['error', 2, { SwitchCase: 1 }],
quotes: ['error', 'single'],
semi: ['error', 'always'],
'no-unsafe-finally': 'error',
eqeqeq: ['error', 'always'],
},
};
39 changes: 0 additions & 39 deletions .eslintrc.js

This file was deleted.

27 changes: 14 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,28 @@ name: Node.js CI

on:
push:
branches: [ main ]
branches: [main, develop]
pull_request: {}

jobs:
test:

runs-on: ${{ matrix.os }}

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [18.x, 20.x, 22.x]
os: [macos-latest, ubuntu-latest]
# Windows not working for now, need to update build before
# os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: volta-cli/action@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
27 changes: 0 additions & 27 deletions appveyor.yml

This file was deleted.

Loading

0 comments on commit e7663b5

Please sign in to comment.