Skip to content

chore: update deps #262

chore: update deps

chore: update deps #262

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- '*'
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [20, 21]
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Configure CI Git User
run: |
git config --global user.name 'TheUnderScorer'
git config --global user.email '[email protected]'
git remote set-url origin https://TheUnderScorer:[email protected]/TheUnderScorer/nx-semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Typecheck
run: pnpm typecheck
- name: Lint
run: pnpm lint
- name: Run tests
run: pnpm exec nx test nx-semantic-release --runInBand --skip-nx-cache