-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from fatcherjs/development
release: v1.0.0
- Loading branch information
Showing
171 changed files
with
2,311 additions
and
9,544 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": ["@fansy/eslint-config"], | ||
"parserOptions": { | ||
"sourceType": "module" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,72 +11,72 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 6.20.3 | ||
|
||
- name: Use Node.js ${{ matrix.node_version }} | ||
uses: actions/setup-node@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
- run: pnpm install | ||
|
||
- name: Build bundle | ||
run: pnpm run -r build --if-present | ||
- run: pnpm run build | ||
|
||
eslint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 6.20.3 | ||
|
||
- name: Use Node.js ${{ matrix.node_version }} | ||
uses: actions/setup-node@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
- run: pnpm install | ||
|
||
- name: eslint | ||
run: pnpm exec eslint ./packages | ||
- run: pnpm exec eslint ./src | ||
|
||
typings: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 6.20.3 | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
cache: 'pnpm' | ||
|
||
- run: pnpm install | ||
|
||
- run: tsc --noEmit | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 6.20.3 | ||
|
||
- name: Use Node.js ${{ matrix.node_version }} | ||
uses: actions/setup-node@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
- run: pnpm install | ||
|
||
- name: Test with coverage | ||
run: pnpm -r run test:coverage --if-present | ||
- run: pnpm run test:cov | ||
|
||
- name: Code coverage | ||
uses: codecov/codecov-action@v2 | ||
- uses: codecov/codecov-action@v2 | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} | ||
fail_ci_if_error: true | ||
verbose: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Fatcher Release | ||
name: Release | ||
|
||
on: | ||
push: | ||
|
@@ -9,8 +9,7 @@ jobs: | |
tag-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Create GitHub Release By Push Tag | ||
uses: Roang-zero1/github-create-release-action@master | ||
- uses: Roang-zero1/github-create-release-action@master | ||
with: | ||
version_regex: ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+ | ||
env: | ||
|
@@ -19,32 +18,22 @@ jobs: | |
npm-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 6.20.3 | ||
|
||
- name: Use Node.js ${{ matrix.node_version }} | ||
uses: actions/setup-node@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
- run: pnpm install | ||
|
||
- name: Enter Workspace | ||
run: cd packages/fatcher | ||
- run: pnpm build | ||
|
||
- name: Build bundle | ||
run: pnpm build | ||
- run: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc | ||
|
||
- name: Set .npmrc file | ||
run: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc | ||
|
||
- name: NPM publish | ||
run: pnpm publish | ||
- run: npm publish | ||
env: | ||
NPM_TOKEN: ${{secrets.NPM_TOKEN}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"@fansy/prettier-config" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.