Skip to content

Commit

Permalink
Merge pull request #1 from danielsogl/master
Browse files Browse the repository at this point in the history
update
  • Loading branch information
tobiasbambullis authored Sep 5, 2022
2 parents 06cc4f3 + cf6e06b commit b362bb1
Show file tree
Hide file tree
Showing 44 changed files with 5,552 additions and 5,078 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "04:00"
open-pull-requests-limit: 10

- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
29 changes: 6 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,14 @@ jobs:
build:

runs-on: macOS-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3.4.1
with:
node-version: ${{ matrix.node-version }}
node-version: '14'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build Web Interface
Expand All @@ -26,19 +23,5 @@ jobs:
- name: Install Pods
run: cd ./ios && pod install
- name: Build
run: cd ./ios && xcodebuild build -workspace Plugin.xcworkspace -scheme Plugin
- name: Build docs
run: npm run docs
- name: Commit generated docs
run: |
git config --local user.email "[email protected]"
git config --local user.name "Daniel Sogl"
git commit -m "docs(pages): update documentation" -a
- run: git pull
- run: git status
- name: Push docs to master
uses: ad-m/github-push-action@master
with:
directory: ./docs
github_token: ${{ secrets.GITHUB_TOKEN }}

run: cd ./ios && xcodebuild build -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos

15 changes: 8 additions & 7 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Node.js Package
name: Publish

on:
release:
Expand All @@ -8,22 +8,23 @@ jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.4.1
with:
node-version: 12
node-version: '14'
cache: 'npm'
- run: npm ci
- run: npm test
- run: npm run build
- run: cd ./ios && pod install
- run: cd ./ios && xcodebuild build -workspace Plugin.xcworkspace -scheme Plugin
- run: cd ./ios && xcodebuild build -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.4.1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [2.0.2](https://github.com/danielsogl/capacitor-face-id/compare/v2.0.1...v2.0.2) (2021-09-13)



## [2.0.1](https://github.com/danielsogl/capacitor-face-id/compare/v2.0.0...v2.0.1) (2020-04-30)


Expand Down
Loading

0 comments on commit b362bb1

Please sign in to comment.