forked from xola/ui-kit
-
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.
Merge branch 'xola:master' into X2-8716
- Loading branch information
Showing
254 changed files
with
837 additions
and
570 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
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,31 @@ | ||
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
name: Publish @xola/icons | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
tag: | ||
description: "Tag version" | ||
default: latest | ||
required: true | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: "npm" | ||
cache-dependency-path: "package-lock.json" | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- run: cd src/icons && pwd && npm ci | ||
|
||
- name: Publish to @xola/icons | ||
run: cd src/icons && pwd && npm publish --tag ${{ github.event.inputs.tag }} | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | ||
registry-url: https://registry.npmjs.org/ |
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,25 +1,31 @@ | ||
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
name: Node.js Package | ||
name: Publish @xola/ui-kit | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
tag: | ||
description: "Tag version" | ||
default: latest | ||
required: true | ||
workflow_dispatch: | ||
inputs: | ||
tag: | ||
description: "Tag version" | ||
default: latest | ||
required: true | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm ci | ||
- run: npm run build | ||
- run: npm publish --tag ${{ github.event.inputs.tag }} | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: "npm" | ||
cache-dependency-path: "package-lock.json" | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- run: npm ci | ||
|
||
- run: npm run build | ||
|
||
- run: npm publish --tag ${{ github.event.inputs.tag }} | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |
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,39 +1,60 @@ | ||
name: Run ES Lint | ||
name: Lint | ||
|
||
on: | ||
push: | ||
pull_request_target: | ||
types: [assigned, opened, synchronize, reopened] | ||
push: | ||
# Runs against the workflow and code from the merge commit | ||
# pull_request: | ||
# types: [ opened, synchronize, reopened ] | ||
# Runs against the workflow and code from the base of the pull request | ||
pull_request_target: | ||
types: [opened, synchronize, reopened] | ||
|
||
env: | ||
DISABLE_PROGRESS: true | ||
DISABLE_PROGRESS: true | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
RunLint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
token: "${{ secrets.ES_LINT_TOKEN }}" | ||
ref: ${{github.event.pull_request.head.sha}} | ||
repository: ${{github.event.pull_request.head.repo.full_name}} | ||
|
||
- name: Node.JS 16 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
|
||
- name: Install Node Dependencies | ||
run: npm ci | ||
env: | ||
CI: TRUE | ||
|
||
- name: Lint Report | ||
# This is to show the failures in Github actions | ||
run: npm run lint | ||
continue-on-error: true | ||
Lint: | ||
name: ⚡ ES Lint | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
token: "${{ secrets.ES_LINT_TOKEN }}" | ||
ref: ${{github.event.pull_request.head.sha}} | ||
repository: ${{github.event.pull_request.head.repo.full_name}} | ||
|
||
- name: Node.JS 16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: "npm" | ||
cache-dependency-path: "package-lock.json" | ||
|
||
- name: Install Node Dependencies | ||
run: npm ci | ||
|
||
- name: Save Code Linting Report to JSON | ||
# This is to show failures in GitHub pull request using the action below | ||
run: npm run lint:report | ||
continue-on-error: true | ||
|
||
- name: Annotate Code Linting Results | ||
uses: ataylorme/[email protected] | ||
with: | ||
check-name: "View Lint Report" | ||
markdown-report-on-step-summary: true | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
report-json: "eslint_report.json" | ||
|
||
# # OPTIONAL: save a copy of the usage report for download or use in another job | ||
# # Save a copy of the usage report for download or use in another job | ||
# - name: Upload ESLint report | ||
# uses: actions/upload-artifact@v3 | ||
# with: | ||
# name: eslint_report.json | ||
# path: eslint_report.json |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
Oops, something went wrong.