-
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.
Updated libraries & fixed import (#28)
* Updated libraries & fixed import * Added Mise * Fixed test running * Added dependency installation * Updated Checkout steps * Updated Lint Action
- Loading branch information
1 parent
a29fa0f
commit de65f03
Showing
8 changed files
with
3,320 additions
and
2,590 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 |
---|---|---|
|
@@ -16,12 +16,10 @@ jobs: | |
run: | ||
working-directory: docs | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: latest | ||
- name: Install Tools | ||
uses: jdx/mise-action@v2 | ||
|
||
- name: Install Dependencies | ||
run: pnpm install --prefer-offline --frozen-lockfile | ||
|
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
name: 🔧 Setup 📐 | ||
steps: | ||
- uses: "actions/checkout@v2" | ||
- uses: "actions/checkout@v4" | ||
|
||
- name: Hash source Folder | ||
env: | ||
|
@@ -25,51 +25,33 @@ jobs: | |
lint: | ||
needs: setup | ||
if: "true" | ||
runs-on: ubuntu-latest | ||
name: 🔎 Linting 🧹 | ||
steps: | ||
- uses: "actions/checkout@v2" | ||
- uses: "actions/checkout@v4" | ||
|
||
- name: Setup pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: latest | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 17.3 | ||
cache: 'pnpm' | ||
- name: Install Tools | ||
uses: jdx/mise-action@v2 | ||
|
||
- name: Install Dependencies | ||
run: pnpm install --prefer-offline --frozen-lockfile | ||
|
||
- name: Lint Project | ||
uses: wearerequired/lint-action@v1 | ||
uses: wearerequired/lint-action@v2 | ||
with: | ||
eslint: true | ||
eslint_dir: "src" | ||
eslint_extensions: ts | ||
|
||
build: | ||
needs: lint | ||
if: "true" | ||
runs-on: ubuntu-latest | ||
name: 🔨 Building 📦 | ||
steps: | ||
- uses: "actions/checkout@v2" | ||
- uses: "actions/checkout@v4" | ||
|
||
- name: Setup pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: latest | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 17.3 | ||
cache: 'pnpm' | ||
- name: Install Tools | ||
uses: jdx/mise-action@v2 | ||
|
||
- name: Install Dependencies | ||
run: pnpm install --prefer-offline --frozen-lockfile | ||
|
@@ -82,21 +64,18 @@ jobs: | |
runs-on: ubuntu-latest | ||
name: ⚗️ Testing 👷🏼 | ||
steps: | ||
- uses: "actions/checkout@v2" | ||
- uses: "actions/checkout@v4" | ||
|
||
- name: Setup pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: latest | ||
- name: Install Tools | ||
uses: jdx/mise-action@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 17.3 | ||
cache: 'pnpm' | ||
- name: Install Dependencies | ||
run: pnpm install --prefer-offline --frozen-lockfile | ||
|
||
# - name: Run Unit Tests | ||
# uses: ArtiomTr/jest-coverage-report-action@v2 | ||
# with: | ||
# test-script: pnpm test | ||
# package-manager: pnpm | ||
- name: Run Unit Tests | ||
uses: ArtiomTr/jest-coverage-report-action@v2 | ||
with: | ||
test-script: pnpm test | ||
package-manager: pnpm | ||
run: pnpm 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,19 +10,16 @@ jobs: | |
name: ⬆️ Publish 📦 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: "actions/checkout@v2" | ||
|
||
- name: Setup pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: latest | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 17.3 | ||
cache: 'pnpm' | ||
registry-url: 'https://registry.npmjs.org' | ||
- uses: "actions/checkout@v4" | ||
|
||
- name: Install Tools | ||
uses: jdx/mise-action@v2 | ||
|
||
- name: create .npmrc | ||
run: | | ||
echo "//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN} | ||
registry=https://registry.npmjs.org/ | ||
always-auth=true" > ~/.npmrc | ||
- name: Install Dependencies | ||
run: pnpm install --prefer-offline --frozen-lockfile | ||
|
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,3 @@ | ||
[tools] | ||
pnpm = "9.8.0" | ||
node = "22.8.0" |
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,6 +1,6 @@ | ||
{ | ||
"name": "lipe", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "A Logging library utilizing pipes", | ||
"typings": "lib/Types", | ||
"packageManager": "[email protected]", | ||
|
@@ -39,21 +39,21 @@ | |
"author": "CEbbinghaus <[email protected]>", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"@types/jest": "^27.4.1", | ||
"@types/node": "^17.0.36", | ||
"@types/jest": "^27.5.2", | ||
"@types/node": "^17.0.45", | ||
"@typescript-eslint/eslint-plugin": "^4.33.0", | ||
"@typescript-eslint/parser": "^4.33.0", | ||
"eslint": "^7.32.0", | ||
"jest": "^28.1.0", | ||
"jest": "^28.1.3", | ||
"jest-ts-webcompat-resolver": "^1.0.0", | ||
"source-map": "^0.8.0-beta.0", | ||
"ts-jest": "^28.0.0", | ||
"typescript": "4.5.2", | ||
"rimraf": "^3.0.2" | ||
"rimraf": "^3.0.2", | ||
"source-map": "0.8.0-beta.0", | ||
"ts-jest": "^28.0.8", | ||
"typescript": "4.5.2" | ||
}, | ||
"optionalDependencies": { | ||
"chalk": "^4.1.2", | ||
"moment": "^2.29.1", | ||
"moment": "^2.30.1", | ||
"timer": "github:CEbbinghaus/timer" | ||
} | ||
} |
Oops, something went wrong.