Skip to content

Commit

Permalink
unpin bugfix js version, use codecov github action
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal authored and umputun committed Nov 8, 2024
1 parent 3c110eb commit c1a447b
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 105 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci-frontend-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16.20.2]
node: [ 16 ]

steps:
- name: Checkout
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16.20.2]
node: [ 16 ]

steps:
- name: Checkout
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16.20.2]
node: [ 16 ]

steps:
- name: Checkout
Expand Down Expand Up @@ -147,7 +147,9 @@ jobs:
run: pnpm coverage:api
working-directory: ./frontend

- name: Submit coverage
run: ${{ github.workspace }}/frontend/apps/remark42/node_modules/.bin/codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
working-directory: ./frontend
codecov_yml_path: ./frontend/apps/remark42/codecov.yml
18 changes: 10 additions & 8 deletions .github/workflows/ci-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16.20.2]
node: [16]

steps:
- name: Checkout
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16.20.2]
node: [16]

steps:
- name: Checkout
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16.20.2]
node: [16]

steps:
- name: Checkout
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16.20.2]
node: [16]

steps:
- name: Checkout
Expand Down Expand Up @@ -215,7 +215,9 @@ jobs:
run: pnpm coverage
working-directory: ./frontend/apps/remark42

- name: Submit coverage
run: ${{ github.workspace }}/frontend/apps/remark42/node_modules/.bin/codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
working-directory: ./frontend/apps/remark42
codecov_yml_path: ./frontend/apps/remark42/codecov.yml
2 changes: 1 addition & 1 deletion Dockerfile.artifacts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16.20.2-alpine AS frontend-deps
FROM node:16-alpine AS frontend-deps

ENV CI=true

Expand Down
2 changes: 1 addition & 1 deletion frontend/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.20.2
16
3 changes: 1 addition & 2 deletions frontend/apps/remark42/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
codecov:
notify:
require_ci_to_pass: false
require_ci_to_pass: false

ignore:
- .editorconfig
Expand Down
1 change: 0 additions & 1 deletion frontend/apps/remark42/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
"babel-loader": "^8.2.5",
"babel-plugin-jsx-remove-data-test-id": "^3.0.0",
"clean-webpack-plugin": "^4.0.0",
"codecov": "^3.8.3",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
Expand Down
85 changes: 0 additions & 85 deletions frontend/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c1a447b

Please sign in to comment.