Skip to content

Commit

Permalink
fix 'invalid value workflow reference: no version specified'
Browse files Browse the repository at this point in the history
  • Loading branch information
oc8 committed Mar 20, 2024
1 parent b109386 commit 5e48dab
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 32 deletions.
27 changes: 26 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,31 @@ name: Synpase
on:
pull_request:

env:
NODE_VERSION: 20.11.0
PNPM_VERSION: 8
PNPM_CACHE:

jobs:
ci:
uses: ./actions/ci.yml
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install pnpm ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}

- name: Install node ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: '${{ env.NODE_CACHE }}'
- run: corepack enable
- name: install dependency
run: pnpm install --frozen-lockfile
- name: lint test
run: pnpm lint
- name: run test
run: pnpm test
31 changes: 0 additions & 31 deletions actions/ci.yml

This file was deleted.

0 comments on commit 5e48dab

Please sign in to comment.