Skip to content

Commit

Permalink
Merge pull request #41 from joseallef/new-layout-v2
Browse files Browse the repository at this point in the history
New layout v2
  • Loading branch information
joseallef authored Jul 22, 2024
2 parents b5db3ad + c440efc commit cf2470d
Show file tree
Hide file tree
Showing 27 changed files with 17,284 additions and 8,109 deletions.
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

0 comments on commit cf2470d

Please sign in to comment.