Skip to content

Commit

Permalink
feat: pnpm support
Browse files Browse the repository at this point in the history
Signed-off-by: williamfzc <[email protected]>
  • Loading branch information
williamfzc committed Aug 22, 2023
1 parent fc5a182 commit 42e46f4
Show file tree
Hide file tree
Showing 6 changed files with 645 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: test

on:
push:
branches: ['main']
branches: [ 'main' ]
pull_request:

jobs:
Expand Down Expand Up @@ -46,6 +46,17 @@ jobs:
with:
cmd: install
dir: 'yarn/test'
- name: Setup node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: 16.14.0
- name: Install dependencies with pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: |
- cwd: 'pnpm/test'
package_json_file: 'pnpm/test/package.json'
- name: Run swift build
working-directory: 'swift/test'
run: swift build
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ require (
github.com/stretchr/testify v1.8.4
github.com/vifraa/gopom v0.2.1
golang.org/x/mod v0.11.0
gopkg.in/yaml.v3 v3.0.1
sigs.k8s.io/release-utils v0.7.4
)

Expand Down Expand Up @@ -52,5 +53,4 @@ require (
gonum.org/v1/gonum v0.8.2 // indirect
gopkg.in/neurosnap/sentences.v1 v1.0.7 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 42e46f4

Please sign in to comment.