Skip to content

Commit

Permalink
Update GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
friederbluemle committed Jul 28, 2021
1 parent 0037a80 commit 7c18732
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: ci
on:
push:
branches: '*'
branches: ['*']
pull_request:
jobs:
build-android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '12'
node-version: '14'
- run: npm i -g electrode-native
- run: yarn --frozen-lockfile
- working-directory: android/
Expand All @@ -21,9 +21,12 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '12'
node-version: '14'
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '12.0'
- run: npm i -g electrode-native
- run: yarn --frozen-lockfile
- working-directory: ios/
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: publish
on:
push:
tags: v[0-9]+.[0-9]+.[0-9]+
tags: ['v[0-9]+.[0-9]+.[0-9]+']
jobs:
publish:
if: github.event.repository.fork == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: '14'
registry-url: 'https://registry.npmjs.org'
- run: yarn --frozen-lockfile
- run: npm publish --access public
Expand Down

0 comments on commit 7c18732

Please sign in to comment.