generated from orlowdev/template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
priestine
committed
Sep 9, 2020
1 parent
e71dbd5
commit 1d8dffd
Showing
24 changed files
with
241 additions
and
238 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 +1 @@ | ||
* @priestine | ||
* @orlovedev |
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
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
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
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
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
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,28 +1,28 @@ | ||
name: Codecov Reports | ||
name: Sending Codecov Report | ||
on: [push] | ||
jobs: | ||
run: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
env: | ||
OS: ${{ matrix.os }} | ||
NODE: '12.x' | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Generate coverage report | ||
run: yarn test:cover | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
flags: unittests | ||
env_vars: OS,NODE | ||
name: codecov-umbrella | ||
fail_ci_if_error: true | ||
run: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
env: | ||
OS: ${{ matrix.os }} | ||
NODE: "12.x" | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "12.x" | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Generate coverage report | ||
run: yarn test:cover | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
flags: unittests | ||
env_vars: OS,NODE | ||
name: codecov-umbrella | ||
fail_ci_if_error: true |
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,15 +1,15 @@ | ||
name: XO | ||
name: Linting (XO, ESLint, tsc) | ||
on: [push, pull_request] | ||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Lint | ||
run: yarn lint | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "12.x" | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Lint | ||
run: yarn lint |
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,46 +1,46 @@ | ||
name: Publish Node.js Package | ||
name: Publishing Package (NPM, GHP) | ||
on: | ||
release: | ||
types: [prereleased] | ||
release: | ||
types: [prereleased] | ||
jobs: | ||
npm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- name: Set env | ||
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Transpile to JavaScript | ||
run: yarn build | ||
- run: | | ||
sed -i s/"\"version\":.*/\"version\": \"$RELEASE_VERSION\","/ package.json | ||
- name: Publish to NPM | ||
run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
ghp: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
registry-url: https://npm.pkg.github.com/ | ||
scope: '@priestine' | ||
- name: Set env | ||
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Transpile to JavaScript | ||
run: yarn build | ||
- run: | | ||
sed -i s/"\"version\":.*/\"version\": \"$RELEASE_VERSION\","/ package.json | ||
- name: Publish to GHP | ||
run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.PRIESTINE_VERSIONS_TOKEN }} | ||
npm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "12.x" | ||
registry-url: "https://registry.npmjs.org" | ||
- name: Set env | ||
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Transpile to JavaScript | ||
run: yarn build | ||
- run: | | ||
sed -i s/"\"version\":.*/\"version\": \"$RELEASE_VERSION\","/ package.json | ||
- name: Publish to NPM | ||
run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
ghp: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "12.x" | ||
registry-url: https://npm.pkg.github.com/ | ||
scope: "@orlovedev" | ||
- name: Set env | ||
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Transpile to JavaScript | ||
run: yarn build | ||
- run: | | ||
sed -i s/"\"version\":.*/\"version\": \"$RELEASE_VERSION\","/ package.json | ||
- name: Publish to GHP | ||
run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.OR_RELEASE_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 |
---|---|---|
@@ -1,46 +1,46 @@ | ||
name: Publish Node.js Package | ||
name: Publishing Preview Package (NPM, GHP) | ||
on: | ||
release: | ||
types: [released] | ||
release: | ||
types: [released] | ||
jobs: | ||
npm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- name: Set env | ||
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Transpile to JavaScript | ||
run: yarn build | ||
- run: | | ||
sed -i s/"\"version\":.*/\"version\": \"$RELEASE_VERSION\","/ package.json | ||
- name: Publish to NPM | ||
run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
ghp: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
registry-url: https://npm.pkg.github.com/ | ||
scope: '@priestine' | ||
- name: Set env | ||
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Transpile to JavaScript | ||
run: yarn build | ||
- run: | | ||
sed -i s/"\"version\":.*/\"version\": \"$RELEASE_VERSION\","/ package.json | ||
- name: Publish to GHP | ||
run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.PRIESTINE_VERSIONS_TOKEN }} | ||
npm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "12.x" | ||
registry-url: "https://registry.npmjs.org" | ||
- name: Set env | ||
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Transpile to JavaScript | ||
run: yarn build | ||
- run: | | ||
sed -i s/"\"version\":.*/\"version\": \"$RELEASE_VERSION\","/ package.json | ||
- name: Publish to NPM | ||
run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
ghp: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "12.x" | ||
registry-url: https://npm.pkg.github.com/ | ||
scope: "@orlovedev" | ||
- name: Set env | ||
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Transpile to JavaScript | ||
run: yarn build | ||
- run: | | ||
sed -i s/"\"version\":.*/\"version\": \"$RELEASE_VERSION\","/ package.json | ||
- name: Publish to GHP | ||
run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.OR_RELEASE_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 |
---|---|---|
@@ -1,18 +1,18 @@ | ||
name: AVA | ||
name: Testing (AVA) | ||
on: [push, pull_request] | ||
jobs: | ||
check: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Test | ||
run: yarn test | ||
check: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "12.x" | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Run tests | ||
run: yarn test |
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
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.