Skip to content

chore: divide workflows into reusable pieces #1

chore: divide workflows into reusable pieces

chore: divide workflows into reusable pieces #1

on:
workflow_call:
secrets: inherit
jobs:
checkout:
uses: ./.github/workflows/checkout.yml@main

Check failure on line 7 in .github/workflows/install-dependencies.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/install-dependencies.yml

Invalid workflow file

invalid value workflow reference: cannot specify version when calling local workflows
install-dependencies:
needs: checkout
runs-on: ubuntu-latest
steps:
- name: Install package manager
uses: pnpm/action-setup@v2
with:
version: 8.6.1
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- name: Install dependencies
run: pnpm install