Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New layout v2 #41

Merged
merged 4 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
{
"extends": "next/core-web-vitals"
}
"extends": [
"eslint:recommended",
"plugin:jest/recommended",
"next/core-web-vitals",
"prettier"
],
"rules": {
"react/react-in-jsx-scope": "off",
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 0 }],
"@next/next/no-img-element": "off"
}
}
18 changes: 10 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

name: CI

# Controls when the action will run.
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
pull_request:
types: [ opened, synchronize ]
types: [opened, synchronize]

# Allows you to run this workflow manually from the Actions tab
# workflow_dispatch:
Expand All @@ -23,16 +23,18 @@ jobs:
steps:
# [AJUSTES GERAIS]
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
######################################

# Runs a single command using the runners shell
- name: Node Version
run: node -v

- name: Install de dependencias
run: yarn install
# - name: Roda o Linter
# run: yarn lint
run: npm ci

- name: Roda o Linter
run: npm run lint
9 changes: 2 additions & 7 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
// output: 'export', // Outputs a Single-Page Application (SPA).
// distDir: './dist', // Changes the build output directory to `./dist/`.
reactStrictMode: true,
swcMinify: true,
}
const nextConfig = {};

export default nextConfig
export default nextConfig;
Loading