Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
strategy:
matrix:
node_version: [lts/-1, lts/*, latest]
package:
- "@forward-software/react-auth"
- "@forward-software/react-auth-google"
fail-fast: false

runs-on: "ubuntu-latest"
Expand All @@ -35,12 +38,22 @@ jobs:
- name: Install dependencies
run: pnpm i --frozen-lockfile

- name: Install peerDependencies
run: pnpm install --no-frozen-lockfile --config.auto-install-peers=true

- name: Test package
run: pnpm --filter "@forward-software/react-auth" test
run: pnpm --filter "${{ matrix.package }}" test

build:
name: Build

strategy:
matrix:
package:
- "@forward-software/react-auth"
- "@forward-software/react-auth-google"
fail-fast: false

runs-on: "ubuntu-latest"

steps:
Expand All @@ -59,5 +72,8 @@ jobs:
- name: Install dependencies
run: pnpm i --frozen-lockfile

- name: Install peerDependencies
run: pnpm install --no-frozen-lockfile --config.auto-install-peers=true

- name: Build package
run: pnpm --filter "@forward-software/react-auth" build
run: pnpm --filter "${{ matrix.package }}" build
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ jobs:
- name: Install dependencies
run: pnpm i --frozen-lockfile

- name: Install peerDependencies
run: pnpm install --no-frozen-lockfile --config.auto-install-peers=true

- name: Build package
working-directory: ${{ matrix.path }}
run: pnpm build
Expand Down
2 changes: 1 addition & 1 deletion packages/google-signin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"clean": "rimraf dist"
},
"devDependencies": {
"@forward-software/react-auth": "workspace:*",
"@forward-software/react-auth": "^2.0.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
Expand Down
14 changes: 12 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading