Skip to content

Commit

Permalink
test: ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
modsen-hedgehog committed Dec 6, 2024
1 parent 9cf3e62 commit 76d5498
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/build-and-lint-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,23 @@ jobs:
name: Build and lint frontend
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x, 22.x]

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
- name: Set up Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: 20.x

- name: Install dependencies
run: npm install

- name: Copy config file
run: cp config.example.js config.js

- name: Lint code
run: npm run lint

- name: Build
run: |
npm install
npx webpack
- name: Build project
run: npx webpack
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ profile = "black"
known_first_party = ["mycorp"] # see package configuration below

[tool.pyright]
extraPaths = ["./server/workers/"]
reportMissingTypeArgument = true # Report generic classes used without type arguments
strictListInference = true # Use union types when inferring types of lists elements, instead of Any
2 changes: 1 addition & 1 deletion server/workers/orcid/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8
FROM python:3.9

LABEL maintainer="Chris Kittel <[email protected]>"

Expand Down
2 changes: 1 addition & 1 deletion server/workers/orcid/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Levenshtein==0.21.1
mistune==2.0.5
numpy==1.24.4
packaging==21.3
pandas==1.3.1
pandas==1.3.5
pyparsing==3.1.1
pyrsistent==0.18.0
python-dateutil==2.8.2
Expand Down

0 comments on commit 76d5498

Please sign in to comment.