Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO committed Nov 7, 2023
1 parent 6060373 commit 9962741
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/size-limit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
script: npx size-limit --json
package_manager: yarn
package_manager: pnpm
build_script: build
16 changes: 8 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
pnpm build
pnpm compat

0 comments on commit 9962741

Please sign in to comment.