💄 Centrar las entradas del blog #153
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |