From f17259140aa9d3f5744558bec029f6122127e1cf Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Thu, 12 Sep 2024 22:52:18 +0200 Subject: [PATCH] update --- .github/workflows/release.yml | 13 ++++++++----- .github/workflows/tests.yml | 22 +++++++--------------- .github/workflows/version.yml | 16 ++++------------ 3 files changed, 19 insertions(+), 32 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87312ba..3558f35 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 439ee2b..965fe52 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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/action-setup@v2.2.2 - - - 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 diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index a476ab1..078fc06 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -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/action-setup@v2.2.2 - - - 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