Skip to content

Commit

Permalink
Merge pull request #2691 from planetarium/ci/gh-actions/fix-lockfile-…
Browse files Browse the repository at this point in the history
…issue

ci(gh-actions): specify working directory
  • Loading branch information
moreal authored Jul 17, 2024
2 parents 7d041d1 + 19f03cc commit 80004b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,20 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.400
- uses: pnpm/action-setup@v3
- uses: pnpm/action-setup@v4
with:
version: 8
run_install: true
version: 9
run_install: |
recursive: true
cwd: "@planetarium"
- name: Build Lib9c.Tools
run: dotnet build .Lib9c.Tools/Lib9c.Tools.csproj
- run: pnpm -r build
working-directory: "@planetarium/lib9c"
- run: pnpm -r fmt:ci
working-directory: "@planetarium/lib9c"
- run: pnpm -r test
working-directory: "@planetarium/lib9c"

release:
if: github.ref_type == 'tag' && startsWith(github.ref_name, 'v')
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ jobs:
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
jsr:
uses: planetarium/.github/.github/workflows/publish_jsr.yaml@7da1714cbc9554aa17a19bc6477b8b067f714ea7
uses: planetarium/.github/.github/workflows/publish_jsr.yaml@34a5632831962232ffed9d4f4a5fc3de77ef5231
with:
workspace_directory: "@planetarium"
working_directory: "@planetarium/lib9c"
pnpm_version: "9.1.2"
pnpm_version: "9"

0 comments on commit 80004b0

Please sign in to comment.