Skip to content

Commit

Permalink
Merge pull request #1 from Rafaelfferreira/ci-development
Browse files Browse the repository at this point in the history
created new v0 of ci pipeline
  • Loading branch information
Rafaelfferreira authored Jun 18, 2024
2 parents 607be60 + 0ebd162 commit f3a8c05
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ module.exports = {
version: "detect",
},
},
ignorePatterns: ["node_modules/"],
ignorePatterns: ["node_modules/", "cypress/"],
// Cherry of the Cake
rules: {
"prettier/prettier": 0,
"nonblock-statement-body-position": "off",
"no-console": "error",
// "no-console": "error",
"react/no-unknown-property": ["error", { ignore: ["jsx", "global"] }],
},
};
21 changes: 21 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "CI - Continuous Integration"

on:
pull_request:
types: [opened, synchronize]

jobs:
lint:
runs-on: ubuntu-latest
steps:
## [Common_CI_Steps]
- uses: actions/checkout@v3
## ===========================
- name: "Debug"
run: |
ls -la
echo "Second command line!"
- name: "Install Dependencies"
run: "npm install "
- name: "Lint"
run: "npm run lint"
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"recommendations": [
"EditorConfig.EditorConfig",
"dbaeumer.vscode-eslint"
"dbaeumer.vscode-eslint",
"github.vscode-github-actions"
]
}
2 changes: 1 addition & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from "cypress";

export default defineConfig({
e2e: {
setupNodeEvents(on, config) {
setupNodeEvents() {
// implement node event listeners here
},
},
Expand Down

0 comments on commit f3a8c05

Please sign in to comment.