Skip to content

Commit

Permalink
chore(CI): add ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
FaberVitale committed Dec 17, 2023
1 parent ef31245 commit 0f7ee2b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
env:
HUSKY: '0'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: '20.10.0'
cache: 'pnpm'
- name: log info
run: >
printf 'commit -> %s\nbranch -> %s\n' "$(git rev-parse --short HEAD)" "$(git branch --show-current)"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm run build

0 comments on commit 0f7ee2b

Please sign in to comment.