Skip to content

Commit

Permalink
chore: ignore cd workflow for now and improve ci yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
anasouardini committed Feb 23, 2024
1 parent e05b7d9 commit b57d435
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 36 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/cd.yaml

This file was deleted.

22 changes: 18 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,31 @@ on:
push:
branches:
- "main"
env:
CI: true
PNPM_CACHE_FOLDER: .pnpm-store

jobs:
build:
check:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: "21.0"
node-version: 21

- name: install pnpm
run: npm i pnpm@latest -g
- name: setup pnpm config
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: install dependencies
run: pnpm install

- name: Install dependencies
run: npm install
Expand Down

0 comments on commit b57d435

Please sign in to comment.