Skip to content

Commit

Permalink
chore: change ci steps (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
gioboa authored Jan 15, 2024
1 parent 13f5259 commit ca82546
Show file tree
Hide file tree
Showing 8 changed files with 736 additions and 14,262 deletions.
63 changes: 30 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 16
- uses: pnpm/action-setup@v2.2.4

- name: Cache NPM Dependencies
uses: actions/cache@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
node-version: 20.10.0
cache: 'pnpm'
registry-url: https://registry.npmjs.org/

- run: corepack enable

- name: Install NPM Dependencies
run: npm ci
run: pnpm install --frozen-lockfile

- name: Build
run: npm run build
Expand Down Expand Up @@ -51,22 +50,21 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 16
- uses: pnpm/action-setup@v2.2.4

- name: Cache NPM Dependencies
uses: actions/cache@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
node-version: 20.10.0
cache: 'pnpm'
registry-url: https://registry.npmjs.org/

- run: corepack enable

- name: Install NPM Dependencies
run: npm ci
run: pnpm install --frozen-lockfile

- name: Build
run: npm run build
Expand All @@ -89,22 +87,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 16
- uses: pnpm/action-setup@v2.2.4

- name: Cache NPM Dependencies
uses: actions/cache@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
node-version: 20.10.0
cache: 'pnpm'
registry-url: https://registry.npmjs.org/

- run: corepack enable

- name: Install NPM Dependencies
run: npm ci
run: pnpm install --frozen-lockfile

- name: Build
run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20.10.0
Loading

1 comment on commit ca82546

@vercel
Copy link

@vercel vercel bot commented on ca82546 Jan 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.