Skip to content

Commit

Permalink
Add lock file and set up build and test action
Browse files Browse the repository at this point in the history
  • Loading branch information
mnoah1 committed Jun 11, 2024
1 parent 039299b commit 7d71408
Show file tree
Hide file tree
Showing 5 changed files with 3,043 additions and 8 deletions.
16 changes: 10 additions & 6 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"extends": [
"../../.eslintrc.json"
],
"ignorePatterns": [
"src/proto"
]
"extends": "./node_modules/gts/",
"rules": {
"node/no-unpublished-import": 0,
"node/no-extraneous-import": 0,
"eqeqeq": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unused-vars": 0,
"prefer-const": 0,
"no-process-exit": 0
}
}
27 changes: 27 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Node.js CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: yarn install
- run: yarn test:ci
3 changes: 2 additions & 1 deletion .yarnrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
--ignore-engines true
--ignore-engines true
registry "https://registry.yarnpkg.com"
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"baseUrl": ".",
"noImplicitAny": false,
"useUnknownInCatchVariables": false,
"strictPropertyInitialization": false
"strictPropertyInitialization": false,
"moduleResolution": "node16"
},
"exclude": [
"node_modules",
Expand Down
Loading

0 comments on commit 7d71408

Please sign in to comment.