Skip to content

Commit

Permalink
Merge branch 'master' into fix/pipeline-error
Browse files Browse the repository at this point in the history
  • Loading branch information
marluanespiritusanto authored May 15, 2024
2 parents 4125149 + b2a075a commit 64915db
Show file tree
Hide file tree
Showing 8 changed files with 755 additions and 37 deletions.
29 changes: 8 additions & 21 deletions .github/workflows/ci-check-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,13 @@ jobs:
- name: Checkout Code Repository
uses: actions/[email protected]
with:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
fetch-depth: 0

- name: Lint Code Base
uses: super-linter/super-linter/[email protected]
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_SHELL_SHFMT: false
VALIDATE_JSCPD: false
VALIDATE_CSS: false
VALIDATE_EDITORCONFIG: false
VALIDATE_MARKDOWN: false
# TODO: hadolint can be activated after this PR is accepted, merged and a new version is tagged https://github.com/github/super-linter/pull/3500
VALIDATE_DOCKERFILE_HADOLINT: false
LINTER_RULES_PATH: /
JAVASCRIPT_DEFAULT_STYLE: prettier
TYPESCRIPT_DEFAULT_STYLE: prettier
TYPESCRIPT_ES_LINTER_RULES: .eslintrc.json
TYPESCRIPT_STANDARD_TSCONFIG_LINTER_RULES: tsconfig.json
LOG_LEVEL: ERROR
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: pnpm/[email protected]
with:
version: 8

- name: Run linter
run: |
pnpm install
pnpm lint
4 changes: 2 additions & 2 deletions .github/workflows/ci-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:

- name: Install and Build
run: |
pnpm install --frozen-lockfile
pnpm build
pnpm install
pnpm test
env:
NODE_OPTIONS: "--max_old_space_size=4096"
2 changes: 0 additions & 2 deletions .github/workflows/sub-cloudrun-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Deploy to Cloud Run

permissions: read-all

on:
workflow_call:
inputs:
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"start": "next start",
"lint": "next lint",
"commitlint": "commitlint --edit",
"serve": "node server.js"
"serve": "node server.js",
"test": "vitest"
},
"engines": {
"npm": ">=10.1.0 <11.0.0",
Expand Down Expand Up @@ -80,6 +81,7 @@
"husky": "^8.0.3",
"install-peers": "^1.0.4",
"lint-staged": "^15.1.0",
"prettier": "^3.0.3"
"prettier": "^3.0.3",
"vitest": "^1.6.0"
}
}
Loading

0 comments on commit 64915db

Please sign in to comment.