-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
# Force the following filetypes to have unix eols, so Windows does not break them | ||
*.* text eol=lf | ||
|
||
# These files are text and should be normalized (Convert crlf => lf) | ||
.browserlistrc text | ||
*.js text | ||
*.xml text | ||
*.iml text | ||
*.jsx text | ||
*.ts text | ||
*.tsx text | ||
*.yml text | ||
*.yaml text | ||
*.nycrc text | ||
*.toml text | ||
*.pug text | ||
yarn.lock text | ||
*.md text | ||
*.scss text | ||
*.sass text | ||
*.css text | ||
*.less text | ||
*.json text | ||
LICENSE text | ||
CHANGELOG text | ||
|
||
*.ico binary | ||
*.png binary | ||
*.jpg binary | ||
*.jpeg binary | ||
*.webp binary | ||
*.mp3 binary | ||
*.wav binary | ||
*.gif binary | ||
*.gz binary | ||
*.tgz binary | ||
*.gz binary | ||
*.br binary | ||
*.tgz binary |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
name: Core | ||
on: | ||
- push | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
node: | ||
- 14.x | ||
- 12.x | ||
- 10.x | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
- name: Cache | ||
uses: actions/cache@v2 | ||
with: | ||
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }} | ||
path: ~/.npm | ||
- uses: actions/setup-node@v1 | ||
name: Set up node | ||
with: | ||
node-version: ${{ matrix.node }} | ||
registry-url: https://npm.pkg.github.com/alorel | ||
- name: Install deps | ||
run: npm install | ||
- name: Test | ||
run: npm test | ||
- name: Upload coverage | ||
if: ${{ matrix.os != 'windows-latest' }} | ||
continue-on-error: true | ||
uses: coverallsapp/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
flag-name: node-${{ matrix.node }}-on-${{ matrix.os }} | ||
parallel: true | ||
posttest: | ||
runs-on: ubuntu-latest | ||
needs: test | ||
continue-on-error: true | ||
steps: | ||
- name: Finalise coverage report | ||
uses: coverallsapp/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel-finished: true | ||
release: | ||
runs-on: ${{ matrix.os }} | ||
if: ${{ github.ref == 'refs/heads/master' }} | ||
needs: test | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
node: | ||
- 14.x | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 100 | ||
- name: Cache | ||
uses: actions/cache@v2 | ||
with: | ||
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }} | ||
path: ~/.npm | ||
- uses: actions/setup-node@v1 | ||
name: Set up node | ||
with: | ||
node-version: ${{ matrix.node }} | ||
registry-url: https://npm.pkg.github.com/alorel | ||
- name: Install deps | ||
run: npm install | ||
- name: Release | ||
run: npm run release | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
/coverage/ | ||
/node_modules/ | ||
/npm-debug.log | ||
/.idea/ | ||
/.nyc_output/ | ||
/*.tgz |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
/coverage/ | ||
/benchmark/ | ||
/test/ | ||
/.nycrc | ||
/.nycrc.yml | ||
/.nyc_output | ||
/.travis.yml | ||
/*.tgz | ||
/.idea | ||
/.github/ | ||
/.gitattributes | ||
/.releaserc.js | ||
/.idea/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
reporter: | ||
- text | ||
- text-summary | ||
- html | ||
- lcov |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
const NPM = '@semantic-release/npm'; | ||
const GH = '@semantic-release/github'; | ||
|
||
module.exports = { | ||
generateNotes: { | ||
config: '@alorel-personal/conventional-changelog-alorel' | ||
}, | ||
prepare: [ | ||
'@semantic-release/changelog', | ||
NPM, | ||
{ | ||
assets: [ | ||
'CHANGELOG.md', | ||
'README.md', | ||
'package.json', | ||
'package-lock.json', | ||
], | ||
message: 'chore(release): ${nextRelease.version}', | ||
path: '@semantic-release/git' | ||
} | ||
], | ||
publish: [ | ||
NPM, | ||
GH | ||
], | ||
tagFormat: '${version}', | ||
verifyConditions: [ | ||
NPM, | ||
GH | ||
] | ||
}; |
This file was deleted.