Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ci: Optimization #4

Merged
merged 29 commits into from
Mar 2, 2023
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
6539df0
fix: post message creation fixed
luigieai Feb 27, 2023
d2c8cc1
ci: optimization using only pnpm and cache
luigieai Feb 27, 2023
40c24aa
ci: fix size workflow
luigieai Feb 27, 2023
fe06a14
fix: forgot pnpm setup action
luigieai Feb 28, 2023
8841d94
ci: install dependencies using pnpm
luigieai Feb 28, 2023
7e19490
ci: install dependencies using pnpm
luigieai Feb 28, 2023
a8ab0f0
ci: fix syntax error
luigieai Feb 28, 2023
e87d216
fix: size-limit bump
luigieai Feb 28, 2023
1eaaa90
refactor: size limit
luigieai Feb 28, 2023
5438e8b
fix: build
luigieai Feb 28, 2023
2fec527
refactor: sizelimit comment on pr
luigieai Feb 28, 2023
9518bd0
fix: snytax error
luigieai Feb 28, 2023
c3c6af2
fix: snytax error
luigieai Feb 28, 2023
1161d90
fix: snytax error
luigieai Feb 28, 2023
48b79a3
fix: snytax error
luigieai Feb 28, 2023
c8d09d2
fix: snytax error
luigieai Feb 28, 2023
b652a6d
fix: snytax error
luigieai Feb 28, 2023
269d5b8
fix: snytax error
luigieai Feb 28, 2023
57dc379
fix: snytax error
luigieai Feb 28, 2023
539d1e5
fix: snytax error
luigieai Feb 28, 2023
8810b91
fix: snytax error
luigieai Feb 28, 2023
e5b895b
fix: snytax error
luigieai Feb 28, 2023
0223e7f
fix: snytax error
luigieai Feb 28, 2023
9d00a0f
fix: snytax error
luigieai Feb 28, 2023
ed60384
fix: snytax error
luigieai Feb 28, 2023
e7fe9db
fix: snytax error
luigieai Feb 28, 2023
d586bb8
fix: snytax error
luigieai Feb 28, 2023
cfc7cef
fix: snytax error
luigieai Feb 28, 2023
65fed73
fix: snytax error
luigieai Feb 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: optimization using only pnpm and cache
  • Loading branch information
luigieai committed Feb 27, 2023
commit d2c8cc1972f7b5d5ec9abaf7ff2c27564491a175
34 changes: 26 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,42 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}

- name: Install PNPM
run: npm install -g pnpm
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: latest
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install deps and build (with cache)
- name: Install dependencies using pnpm
run: pnpm install

- name: Lint
run: npm run lint
run: pnpm run lint

- name: Build
run: npm run build
run: pnpm run build

- name: Test
run: npm run test
run: pnpm run test