Skip to content

Commit

Permalink
build: fix dependabot pkg type, install pnpm in action
Browse files Browse the repository at this point in the history
Signed-off-by: rare-magma <[email protected]>
  • Loading branch information
rare-magma committed Oct 13, 2023
1 parent 71a592c commit adf959d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

version: 2
updates:
- package-ecosystem: "pnpm" # See documentation for possible values
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "monthly"
14 changes: 11 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,21 @@ jobs:
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Setup Node
uses: actions/setup-node@v3
with:
cache: "pnpm"

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Install dependencies
run: pnpm clean-install

- name: Run tests
run: pnpm test -- --run

release:
name: release
runs-on: ubuntu-latest
Expand All @@ -29,14 +36,15 @@ jobs:
uses: actions/checkout@v3
with:
persist-credentials: false
# TODO workaround for https://github.com/cycjimmy/semantic-release-action/issues/159

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 20
cache: "pnpm"

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
uses: cycjimmy/semantic-release-action@v4
with:
extra_plugins: |
@semantic-release/commit-analyzer
Expand Down

0 comments on commit adf959d

Please sign in to comment.