Skip to content

Commit

Permalink
First version
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Nov 3, 2023
1 parent 974e930 commit 9bc20f0
Show file tree
Hide file tree
Showing 74 changed files with 101,695 additions and 4,298 deletions.
2 changes: 0 additions & 2 deletions .github/advanced-issue-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@ policy:

- name: RFE 🎁
keys: ['Feature Request']

...
12 changes: 5 additions & 7 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@96f53100ba2a5449eb71d2e6604bbcd94b9449b5
- uses: actions/checkout@v3

- name: Use Node.js 18
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: yarn

- name: Install dependencies
Expand All @@ -52,10 +52,8 @@ jobs:
id: diff

# If index.js was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@65d862660abb392b8c4a3d1195a2108db131dd05
- uses: actions/upload-artifact@v3
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
path: dist/

...
10 changes: 4 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,16 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@96f53100ba2a5449eb71d2e6604bbcd94b9449b5
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@7ba5ed7eed12f15064a031cc1fa3341f93764020
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
source-root: src

- name: Autobuild
uses: github/codeql-action/autobuild@7ba5ed7eed12f15064a031cc1fa3341f93764020
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@7ba5ed7eed12f15064a031cc1fa3341f93764020

...
uses: github/codeql-action/analyze@v2
8 changes: 3 additions & 5 deletions .github/workflows/issue-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,16 @@ jobs:
template: [ issue-template.yml ]

steps:
- uses: actions/checkout@96f53100ba2a5449eb71d2e6604bbcd94b9449b5
- uses: actions/checkout@v3

- name: Parse issue form
uses: stefanbuck/github-issue-parser@96f2b64808e8d528b0d06a67b98db39335861a79
uses: stefanbuck/github-issue-parser@v3
id: issue-parser
with:
template-path: .github/ISSUE_TEMPLATE/${{ matrix.template }}

- name: Set labels based on type input
uses: redhat-plumbers-in-action/advanced-issue-labeler@8ed038ae42158ffd94c467565e4648f46763b94d
uses: redhat-plumbers-in-action/advanced-issue-labeler@v2
with:
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
token: ${{ secrets.GITHUB_TOKEN }}

...
28 changes: 4 additions & 24 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,17 @@ permissions:
contents: read

jobs:
super-linter:
name: Super Linter
runs-on: ubuntu-latest

steps:
- name: Repository checkout
uses: actions/checkout@96f53100ba2a5449eb71d2e6604bbcd94b9449b5
with:
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter@ae3c77f45b03c6e02021b04fd62abf51046434a0
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
VALIDATE_TYPESCRIPT_STANDARD: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

lint:
name: Linters
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@96f53100ba2a5449eb71d2e6604bbcd94b9449b5
- uses: actions/checkout@v3

- name: Use Node.js 18.x
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: yarn

- name: Install
Expand All @@ -55,5 +37,3 @@ jobs:

- name: ESLint
run: yarn run lint

...
6 changes: 2 additions & 4 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ jobs:

steps:
- name: Repository checkout
uses: actions/checkout@96f53100ba2a5449eb71d2e6604bbcd94b9449b5
uses: actions/checkout@v3

- name: Update tag
uses: Actions-R-Us/actions-tagger@68b8860d45b8d5a78fc2b0b4c7bb19da085b38c6
uses: Actions-R-Us/actions-tagger@v2
with:
publish_latest_tag: false
token: ${{ secrets.GITHUB_TOKEN }}

...
4 changes: 1 addition & 3 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
pull-requests: write

steps:
- uses: release-drafter/release-drafter@cfc5540ebc9d65a8731f02032e3d44db5e449fb6
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

...
12 changes: 5 additions & 7 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:

strategy:
matrix:
node-version: [ 16.x, 18.x ]
node-version: [ 18.x, 20.x ]

steps:
- uses: actions/checkout@96f53100ba2a5449eb71d2e6604bbcd94b9449b5
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
Expand All @@ -44,7 +44,5 @@ jobs:
run: yarn test

- name: Codecov
if: ${{ matrix.node-version == '18.x' }}
uses: codecov/codecov-action@4b062cb89c1fe1fd7da7e013d554a088ea14178a

...
if: ${{ matrix.node-version == '20.x' }}
uses: codecov/codecov-action@v3
Loading

0 comments on commit 9bc20f0

Please sign in to comment.