Skip to content

Commit

Permalink
fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO committed Nov 7, 2023
1 parent 9962741 commit 279a85c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/size-limit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@ jobs:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v4
- name: Install
run: |
npm install -g pnpm
pnpm install
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- uses: andresz1/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
23 changes: 8 additions & 15 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
- uses: pnpm/action-setup@v2
with:
node-version: '16.x'

- uses: actions/cache@v3
version: 8
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
path: |
~/.npm
~/.config/yarn/global
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
node-version: 20
cache: 'pnpm'

- name: Install pnpm
run: |
npm install -g pnpm
pnpm install
- name: Install dependencies
run: pnpm install

- name: ESLint
run: pnpm lint
Expand Down

0 comments on commit 279a85c

Please sign in to comment.