Skip to content

Commit

Permalink
Changed node version
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo.garcia.almis committed Apr 13, 2024
1 parent cb5a628 commit 4c47ef0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
- name: Use Node.js 208.x
uses: actions/[email protected]
with:
node-version: 18.x
node-version: 20.x
- name: Cache Node.js modules
uses: actions/cache@v3
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.OS }}-node-18.x-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.OS }}-node-20.x-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-node-18.x
${{ runner.OS }}-node-20.x
${{ runner.OS }}-
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand All @@ -34,7 +34,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
- name: Use Node.js 20.x
uses: actions/[email protected]
with:
node-version: 18.x
node-version: 20.x
- name: Cache Node.js modules
uses: actions/cache@v3
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.OS }}-node-18.x-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.OS }}-node-20.x-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-node-18.x
${{ runner.OS }}-node-20.x
${{ runner.OS }}-
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
10 changes: 10 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js";


export default [
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
pluginReactConfig
];

0 comments on commit 4c47ef0

Please sign in to comment.