Skip to content

Commit

Permalink
Merge pull request #40 from chelunike/ci-build-implement
Browse files Browse the repository at this point in the history
implement build ci
  • Loading branch information
mario-ca authored Feb 18, 2024
2 parents 3ac848e + bf7cd94 commit e8383ae
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI - Build check

on:
push:
pull_request:

jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 8

- name: Restore cached npm dependencies
uses: actions/cache/restore@v3
with:
path: |
node_modules
~/.cache/Cypress # needed for the Cypress binary
key: npm-dependencies-${{ hashFiles('pnpm-lock.yaml') }}

- run: pnpm install --frozen-lockfile

- name: Cache npm dependencies
uses: actions/cache/save@v3
with:
path: |
node_modules
~/.cache/Cypress # needed for the Cypress binary
key: npm-dependencies-${{ hashFiles('pnpm-lock.yaml') }}

- run: pnpm build

0 comments on commit e8383ae

Please sign in to comment.