Skip to content

Commit

Permalink
Fix lockfile and workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrerojosh committed Nov 14, 2023
1 parent 9505791 commit f6e3778
Show file tree
Hide file tree
Showing 4 changed files with 3,324 additions and 3,011 deletions.
60 changes: 26 additions & 34 deletions .github/workflows/verify-build.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,26 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Build

on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master, dev ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
pnpm-version: [7]
steps:
- uses: actions/checkout@v2
- name: Cache pnpm modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: Use PNPM ${{ matrix.pnpm-version }}
uses: pnpm/[email protected]
with:
version: ${{ matrix.pnpm-version }}
run_install: true
- run: pnpm run --if-present lint
- run: pnpm run --if-present build
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Build

on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master, dev ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- run: pnpm run --if-present lint
- run: pnpm run --if-present build
Loading

0 comments on commit f6e3778

Please sign in to comment.