From 9962741108b875fd98b8f967164683a8d472ce0d Mon Sep 17 00:00:00 2001 From: lukasIO Date: Tue, 7 Nov 2023 18:44:58 +0200 Subject: [PATCH] update actions --- .github/workflows/size-limit.yaml | 8 +++++--- .github/workflows/test.yaml | 16 ++++++++-------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/size-limit.yaml b/.github/workflows/size-limit.yaml index 8c44f2a022..ba7d5113a7 100644 --- a/.github/workflows/size-limit.yaml +++ b/.github/workflows/size-limit.yaml @@ -11,11 +11,13 @@ jobs: CI_JOB_NUMBER: 1 steps: - uses: actions/checkout@v4 - - name: install - run: yarn + - name: Install + run: | + npm install -g pnpm + pnpm install - uses: andresz1/size-limit-action@v1.7.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} script: npx size-limit --json - package_manager: yarn + package_manager: pnpm build_script: build diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9f19cb7c45..18e8edf29a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,21 +24,21 @@ jobs: restore-keys: | ${{ runner.os }}-node- - - name: Install Yarn + - name: Install pnpm run: | - npm install -g yarn - yarn install + npm install -g pnpm + pnpm install - name: ESLint - run: yarn lint + run: pnpm lint - name: Prettier - run: yarn format:check + run: pnpm format:check - name: Run Tests - run: yarn test + run: pnpm test - name: Check browser target compatibility run: | - yarn build - yarn compat \ No newline at end of file + pnpm build + pnpm compat \ No newline at end of file