Skip to content

Commit

Permalink
Merge pull request #4 from frontegg/FR-13828-embedded-mode
Browse files Browse the repository at this point in the history
FR-13828 -Support embedded mode and bug fixes
  • Loading branch information
frontegg-david authored Nov 7, 2023
2 parents 031a9e3 + a9d0bff commit d309f14
Show file tree
Hide file tree
Showing 36 changed files with 2,746 additions and 232 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/onBuild.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Build Merge Workflow
on:
push:
branches:
- FR-13828-embedded-mode
env:
CI: true
jobs:
publish:
name: 'Install | Build | Test'
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
cache: npm
cache-dependency-path: '**/package.json'
- name: Git Identity
run: |
git config --global user.name 'frontegg'
git config --global user.email '[email protected]'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Authenticate with Registry
run: |
echo "init-author-name=Frontegg LTD" > .npmrc
echo "[email protected]" >> .npmrc
echo "init-author-url=https://frontegg.com" >> .npmrc
echo "init-license=MIT" >> .npmrc
echo "always-auth=true" >> .npmrc
echo "registry=https://registry.npmjs.org" >> .npmrc
echo "@frontegg:registry=https://registry.npmjs.org" >> .npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
npm whoami
env:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
- name: Install Package
run: |
npm i
- name: Build Package
run: |
npm run build
# - name: Publish @frontegg/ionic-capacitor version to NPM
# run: npm publish --tag alpha
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ captures

# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild

.npmrc
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
example

.npmrc
2 changes: 1 addition & 1 deletion FronteggIonicCapacitor.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '14.0'
s.dependency 'Capacitor'
s.dependency "FronteggSwift", "1.0.5"
s.dependency "FronteggSwift", "1.1.1"
s.swift_version = '5.1'
s.pod_target_xcconfig = {
'CODE_SIGNING_ALLOWED' => 'YES'
Expand Down
Loading

0 comments on commit d309f14

Please sign in to comment.