mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-17 12:19:21 +08:00
feat: independently version packages (#3513)
* feat: remove core version lock * chore: v6.4.1 * chore: v6.4.1 * chore: configure lerna for independent versions * chore: configure lerna for independent versions * chore: only check docs folder skipping elsewhere due to generated files such as changelogs
This commit is contained in:
11
.github/workflows/docs.yml
vendored
11
.github/workflows/docs.yml
vendored
@@ -1,14 +1,9 @@
|
||||
name: Documentation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '**/*.md'
|
||||
pull_request:
|
||||
paths:
|
||||
- '**/*.md'
|
||||
branches:
|
||||
- '**'
|
||||
|
||||
jobs:
|
||||
spelling:
|
||||
@@ -21,4 +16,4 @@ jobs:
|
||||
sudo npm install --global spellchecker-cli
|
||||
- name: Spell check
|
||||
run: |
|
||||
spellchecker --quiet --files="**/*.md" --dictionaries="./.spellcheck.dict.txt" --reports="spelling.json" --plugins spell indefinite-article repeated-words syntax-mentions syntax-urls frontmatter
|
||||
spellchecker --quiet --files="docs/**/*.md" --dictionaries="./.spellcheck.dict.txt" --reports="spelling.json" --plugins spell indefinite-article repeated-words syntax-mentions syntax-urls frontmatter
|
||||
|
||||
33
.github/workflows/publish.yml
vendored
Normal file
33
.github/workflows/publish.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Publish
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
publish_npm:
|
||||
if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
|
||||
name: 'NPM'
|
||||
timeout-minutes: 5
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: GIT Setup
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
git config --global user.name '@Salakar'
|
||||
git config --global user.email 'Salakar@users.noreply.github.com'
|
||||
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY
|
||||
- name: Publish Packages
|
||||
run: |
|
||||
npm whoami
|
||||
npx lerna publish --yes
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
- name: Deploy Documentation
|
||||
env:
|
||||
NETLIFY_TRIGGER_URL: ${{ secrets.NETLIFY_TRIGGER_URL }}
|
||||
run: |
|
||||
curl -X POST -d {} "$NETLIFY_TRIGGER_URL"
|
||||
3
.github/workflows/tests_e2e.yml
vendored
3
.github/workflows/tests_e2e.yml
vendored
@@ -1,9 +1,6 @@
|
||||
name: Testing E2E
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- '**'
|
||||
|
||||
Reference in New Issue
Block a user