Skip to content

Commit 6b33c66

Browse files
committed
fix: build files
1 parent 3914010 commit 6b33c66

File tree

5 files changed

+75
-52
lines changed

5 files changed

+75
-52
lines changed

.github/workflows/build.yml

Lines changed: 51 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,14 @@
1-
name: build
2-
on:
3-
push:
4-
branches:
5-
- "**"
61
jobs:
72
cancel-existing:
3+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
84
runs-on: ubuntu-latest
95
steps:
10-
- uses: rokroskar/[email protected]
11-
env:
6+
- env:
127
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13-
test:
14-
needs: cancel-existing
15-
strategy:
16-
matrix:
17-
os:
18-
- macos-latest
19-
- windows-latest
20-
- ubuntu-latest
21-
node:
22-
- 10
23-
- 12
24-
exclude:
25-
- os: macos-latest
26-
node: 10
27-
- os: windows-latest
28-
node: 10
29-
runs-on: ${{ matrix.os }}
30-
steps:
31-
- uses: actions/checkout@v2
32-
- uses: actions/setup-node@v1
33-
with:
34-
node-version: ${{ matrix.node }}
35-
- run: git config --global user.email "[email protected]"
36-
- run: git config --global user.name "GitHub Actions"
37-
- run: yarn --frozen-lockfile
38-
- run: yarn test
39-
- name: Coveralls
40-
if: matrix.os == 'ubuntu-latest' && matrix.node == 12
41-
run: yarn dw-ci coveralls
42-
env:
43-
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44-
COVERALLS_SERVICE_NAME: github
45-
COVERALLS_GIT_COMMIT: ${{ github.sha }}
46-
COVERALLS_GIT_BRANCH: ${{ github.ref }}
8+
uses: rokroskar/[email protected]
479
release:
48-
needs: test
4910
if: github.ref == 'refs/heads/master'
11+
needs: test
5012
runs-on: ubuntu-latest
5113
steps:
5214
- uses: actions/checkout@v2
@@ -56,14 +18,55 @@ jobs:
5618
- run: git config --global user.email "[email protected]"
5719
- run: git config --global user.name "GitHub Actions"
5820
- run: yarn --frozen-lockfile
21+
- run: yarn clean
5922
- run: yarn lint
60-
- name: Push changed files
61-
run: yarn dw-ci push-changed-files
62-
env:
63-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
- env:
6424
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
65-
- name: Release
66-
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
name: Push changed files
27+
run: yarn dw-ci push-changed-files
28+
- env:
6729
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6830
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
31+
name: Release
6932
run: yarn semantic-release
33+
test:
34+
needs: cancel-existing
35+
runs-on: ${{ matrix.os }}
36+
steps:
37+
- uses: actions/checkout@v2
38+
- uses: actions/setup-node@v1
39+
with:
40+
node-version: ${{ matrix.node }}
41+
- run: git config --global user.email "[email protected]"
42+
- run: git config --global user.name "GitHub Actions"
43+
- run: yarn --frozen-lockfile
44+
- run: yarn clean
45+
- run: yarn test
46+
- env:
47+
COVERALLS_GIT_BRANCH: ${{ github.ref }}
48+
COVERALLS_GIT_COMMIT: ${{ github.sha }}
49+
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
COVERALLS_SERVICE_NAME: github
51+
if: matrix.os == 'ubuntu-latest' && matrix.node == 12
52+
name: Coveralls
53+
run: yarn dw-ci coveralls
54+
strategy:
55+
matrix:
56+
exclude:
57+
- node: 10
58+
os: macos-latest
59+
- node: 10
60+
os: windows-latest
61+
node:
62+
- 10
63+
- 12
64+
os:
65+
- macos-latest
66+
- windows-latest
67+
- ubuntu-latest
68+
name: build
69+
on:
70+
push:
71+
branches:
72+
- "**"

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
.DS_Store
22
/.babelrc.json
3+
/.commitlintrc.json
34
/.cz.json
45
/.editorconfig
56
/.env.json
67
/.eslintrc.json
8+
/.huskyrc.json
79
/.nyc_output
810
/.releaserc.json
911
/.test.env.json

.renovaterc.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"extends": [
33
":semanticCommits"
44
],
5+
"labels": [
6+
"maintenance"
7+
],
58
"packageRules": [
69
{
710
"packagePatterns": [
@@ -20,7 +23,6 @@
2023
}
2124
],
2225
"lockFileMaintenance": {
23-
"enabled": true,
24-
"schedule": "at any time"
26+
"enabled": true
2527
}
26-
}
28+
}

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,22 @@
1010
[![Dependency status](https://img.shields.io/david/dword-design/eslint-plugin-import-alias)](https://david-dm.org/dword-design/eslint-plugin-import-alias)
1111
![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen)
1212

13-
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/dword-design/eslint-plugin-import-alias)
13+
<a href="https://www.buymeacoffee.com/dword">
14+
<img
15+
src="https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg"
16+
alt="Buy Me a Coffee"
17+
height="32"
18+
>
19+
</a><a href="https://gitpod.io/#https://github.com/dword-design/eslint-plugin-import-alias">
20+
<img src="https://gitpod.io/button/open-in-gitpod.svg" alt="Open in Gitpod">
21+
</a>
22+
<a href="https://paypal.me/SebastianLandwehr">
23+
<img
24+
src="https://upload.wikimedia.org/wikipedia/commons/b/b5/PayPal.svg"
25+
alt="PayPal"
26+
height="30"
27+
>
28+
</a>
1429
<!-- /BADGES -->
1530
1631
<!-- DESCRIPTION/ -->

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"dist"
1111
],
1212
"scripts": {
13+
"clean": "base clean",
1314
"commit": "base commit",
1415
"dev": "base dev",
1516
"lint": "base lint",

0 commit comments

Comments
 (0)