Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoperra committed Sep 12, 2024
1 parent f12491d commit f172591
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 32 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
node-version: [ 20.12.2 ]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
- uses: pnpm/action-setup@v4
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
version: 9
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: 20
cache: 'pnpm'

- name: Creating .npmrc
Expand All @@ -32,6 +32,9 @@ jobs:
- name: Install Dependencies
run: pnpm install

- name: Build deps
run: pnpm build

- name: Publish to npm
id: changesets
uses: changesets/action@v1
Expand Down
22 changes: 7 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,20 @@ jobs:
node-version: [ 20.12.2 ]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
- uses: pnpm/action-setup@v4
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
version: 9
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: 20
cache: 'pnpm'

- uses: pnpm/[email protected]

- name: Setup Node.js environment ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: pnpm

- name: Install dependencies
run: pnpm install

# - name: Run Build and Tests
# run: pnpm run build-test
- name: Build
run: pnpm run build

env:
CI: true
16 changes: 4 additions & 12 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,15 @@ jobs:
node-version: [ 20.12.2 ]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
- uses: pnpm/action-setup@v4
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
version: 9
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- uses: pnpm/[email protected]

- name: Setup Node.js environment ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: pnpm

- name: Install dependencies
run: pnpm install

Expand Down

0 comments on commit f172591

Please sign in to comment.