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:
Mike Diarmid
2020-04-22 15:48:13 +01:00
committed by GitHub
parent a800cdbc81
commit e2c2d64d22
47 changed files with 1370 additions and 136 deletions

View File

@@ -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
View 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"

View File

@@ -1,9 +1,6 @@
name: Testing E2E
on:
push:
branches:
- master
pull_request:
branches:
- '**'