Skip to content

Commit

Permalink
Merge branch 'master' into issue663
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhanl authored Aug 9, 2023
2 parents abbef1a + 9c96f7e commit d961a59
Show file tree
Hide file tree
Showing 105 changed files with 6,453 additions and 5,934 deletions.
12 changes: 10 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,23 @@
"es2021": true,
"jest/globals": true
},
"extends": ["eslint:recommended", "plugin:react/recommended"],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:prettier/recommended"
],
"globals": {
"process": true
},
"overrides": [
{
"files": ["test/**"],
"plugins": ["jest"],
"extends": ["plugin:jest/recommended"],
"extends": [
"eslint:recommended",
"plugin:jest/recommended",
"plugin:prettier/recommended"
],
"rules": { "jest/prefer-expect-assertions": "off" }
}
],
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Pull request

on:
pull_request:
branches: [ master ]
branches: [master]

jobs:
lint:
Expand All @@ -25,14 +25,15 @@ jobs:
# Hopefully this allows us to catch problems
# with differing versions ahead of time.
node-version: [19.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: npm
node-version: ${{ matrix.node-version }}
# https://docs.npmjs.com/cli/v9/commands/npm-ci
- run: npm install --force
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm test
- run: npm test
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Push

on:
on:
push:
branches:
- master
Expand Down
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# required for react conflict https://github.com/vre2h/use-react-screenshot/issues/40
legacy-peer-deps=true
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"search.useIgnoreFiles": true
}
"search.useIgnoreFiles": true
}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
install:
npm install --force
npm ci
build:
npm run build
debug:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Welcome :wave: !

This is the official web app of the PolicyEngine project. <br/><br/>
![PolicyEngineWebApp](https://user-images.githubusercontent.com/117248915/221730075-b368a1df-d0d4-455c-8768-329e1eb9318e.png)

Expand All @@ -24,7 +24,7 @@ https://github.com/PolicyEngine/policyengine-app.git
2. Install dependencies

```
npm install
npm ci
```

3. Start a server on localhost to see your changes
Expand Down
6 changes: 3 additions & 3 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"compilerOptions": {
"baseUrl": "src"
}
"compilerOptions": {
"baseUrl": "src"
}
}
Loading

0 comments on commit d961a59

Please sign in to comment.