📦 build(deps): update dependencies and devDependencies #2189
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
# This workflow will install Deno and run tests across stable and canary builds on Windows, Ubuntu and macOS. | |
# For more information see: https://github.com/denoland/setup-deno | |
name: Test | |
on: | |
pull_request: | |
branches: [main, dev] | |
push: | |
branches: [dev] | |
jobs: | |
build_package: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: latest | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- name: Get pnpm store directory | |
id: pnpm-cache | |
shell: bash | |
run: | | |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | |
- name: Cache pnpm | |
uses: actions/cache@v4 | |
with: | |
key: ${{ runner.os }}-pnpm-dep | |
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | |
- name: Install dependencies | |
run: pnpm i | |
- name: Run test | |
run: | | |
pnpm package | |
env: | |
USE_HARD_LINKS: false | |
# DEBUG: electron-builder |