Skip to content

Commit 2fe783c

Browse files
authored
Merge pull request #93 from squidit/sq-70017-atualizar-node-e-arquivos-de-actions-do-github-nos-projetos-de-front-end-do-hub
SQ-70017 Atualizar node e arquivos de actions do github nos projetos de front-end do Hub
2 parents 4ef0d0a + a88ccb4 commit 2fe783c

File tree

11 files changed

+1219
-14291
lines changed

11 files changed

+1219
-14291
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,18 @@ jobs:
2323
permissions: write-all
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/checkout@v3
27-
- uses: actions/setup-node@v3
26+
- uses: actions/checkout@v4
27+
- uses: actions/setup-node@v4
2828
with:
29-
node-version: '18'
30-
- uses: actions/configure-pages@v3
29+
node-version: '22'
30+
- uses: pnpm/action-setup@v4
31+
with:
32+
version: 9
33+
- uses: actions/configure-pages@v4
3134
- name: Build
3235
run: |
33-
npm install
34-
npm run deploy-storybook
36+
pnpm install
37+
pnpm run deploy-storybook
3538
echo "react-css.squidit.com.br" > CNAME
3639
cd storybook-static
3740
echo "react-css.squidit.com.br" > CNAME

.github/workflows/deploy-npm.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212
- name: Setup Node
13-
uses: actions/setup-node@v3
13+
uses: actions/setup-node@v4
1414
with:
15-
node-version: '18'
15+
node-version: '22'
1616
registry-url: 'https://registry.npmjs.org'
17+
- name: Setup pnpm
18+
uses: pnpm/action-setup@v4
19+
with:
20+
version: 9
1721
- name: Install dependencies and build 🔧
18-
run: npm install && npm run build
22+
run: pnpm install && pnpm run build
1923
- name: Organize Files 📁
2024
run: cp -r dist/src/* dist/
2125
- name: Publish package on NPM 📦

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@ dist
33
coverage
44

55
#storybook build directory
6-
storybook-static
6+
storybook-static
7+
8+
# pnpm
9+
.pnpm-store/
10+
pnpm-debug.log*

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
22

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ UI Components are currently offered as React (Web) components.
2424

2525
## Installation
2626

27-
1. Node version >= 18
27+
1. Node version >= 22
2828
2. To use this library in your React project, you can install it via npm or yarn:
2929

3030
```Bash

0 commit comments

Comments
 (0)