Skip to content

Commit 38de1c6

Browse files
ErioldDaniel Montoya
andauthored
feat(update): change versions of vite, node, react and all librarys (#593)
Co-authored-by: Daniel Montoya <daniel.montoya@eclass.cl>
1 parent de5a1ee commit 38de1c6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+21650
-12772
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
}
3535
],
3636
"rules": {
37-
"@typescript-eslint/strict-boolean-expressions": "off"
37+
"@typescript-eslint/strict-boolean-expressions": "off",
38+
"@typescript-eslint/consistent-type-imports": "error"
3839
},
3940
"settings": {
4041
"mdx/code-blocks": true,

.github/workflows/nodejs.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
node: [14.21.3]
10+
node: [16, 18, 20]
1111
steps:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
@@ -31,6 +31,11 @@ jobs:
3131
run: npm run lint:check
3232
- name: Testing JEST
3333
run: npm run test
34+
- name: Upload package-lock.json regenerate
35+
uses: actions/upload-artifact@v3
36+
with:
37+
name: package-lock
38+
path: package-lock.json
3439
release:
3540
if: github.ref == 'refs/heads/main'
3641
needs: test
@@ -39,7 +44,7 @@ jobs:
3944
- uses: actions/checkout@v3
4045
- uses: actions/setup-node@v3
4146
with:
42-
node-version: 14.21.3
47+
node-version: 18.18.0
4348
cache: 'npm'
4449
- uses: webfactory/ssh-agent@v0.7.0
4550
with:
@@ -48,8 +53,11 @@ jobs:
4853
run: |
4954
ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
5055
shell: bash
51-
- name: Regenerate package-lock.json
52-
run: npm i
56+
- name: Download artifact package-lock.json
57+
uses: actions/download-artifact@v3
58+
with:
59+
name: package-lock
60+
path: package-lock.json
5361
- name: Clean node_modules after regenerate
5462
run: rm -rf node_modules
5563
- name: Clean install on CI
@@ -76,7 +84,7 @@ jobs:
7684
- name: Setup Node
7785
uses: actions/setup-node@v3
7886
with:
79-
node-version: 14.21.3
87+
node-version: 18.18.0
8088
cache: 'npm'
8189
- uses: webfactory/ssh-agent@v0.7.0
8290
with:
@@ -85,8 +93,11 @@ jobs:
8593
run: |
8694
ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
8795
shell: bash
88-
- name: Regenerate package-lock.json
89-
run: npm i
96+
- name: Download artifact package-lock.json
97+
uses: actions/download-artifact@v3
98+
with:
99+
name: package-lock
100+
path: package-lock.json
90101
- name: Clean node_modules after regenerate
91102
run: rm -rf node_modules
92103
- name: Clean install on CI

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14.21.3
1+
18.18.0

0 commit comments

Comments
 (0)