Skip to content

Commit

Permalink
Merge pull request #30 from nodecfdi/dev
Browse files Browse the repository at this point in the history
chore: version bump 1.6.0
  • Loading branch information
luffynando authored Jan 9, 2024
2 parents e46fd97 + eba90bc commit a9bf742
Show file tree
Hide file tree
Showing 63 changed files with 7,335 additions and 8,576 deletions.
46 changes: 0 additions & 46 deletions .babelrc.cjs

This file was deleted.

18 changes: 9 additions & 9 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.0.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 120
Expand Down
17 changes: 0 additions & 17 deletions .eslintignore

This file was deleted.

105 changes: 0 additions & 105 deletions .eslintrc.cjs

This file was deleted.

2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
/.husky/** linguist-detectable=false
*.cjs linguist-detectable=false
/examples/** linguist-detectable=false

*.json linguist-language=JSON-with-Comments
23 changes: 13 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: build
on:
push:
branches:
- '*'
- main
- dev
pull_request:
branches:
- main
Expand All @@ -16,37 +17,39 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14', '16', '17', '18']
node: ['16', '17', '18', '19', '20']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache .pnpm-store
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
key: ${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/pnpm-lock.yaml') }}

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- name: Install dependencies
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@v2
with:
version: 6.23.6
version: 8
run_install: true

- name: Lint source
run: |
pnpm lint:ci
pnpm lint:check
- name: Build package
run: |
pnpm build
- name: Run tests
run: |
pnpm test:ci
pnpm test:run
env:
CI: true

Expand All @@ -69,6 +72,6 @@ jobs:

- name: Commit docs
if: steps.changesets.outputs.published == 'true'
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'docs: generate docs'
30 changes: 15 additions & 15 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: 'ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache .pnpm-store
uses: actions/cache@v3
Expand All @@ -20,24 +20,24 @@ jobs:
key: ${{ runner.os }}-node16-${{ hashFiles('**/pnpm-lock.yaml') }}

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'

- name: Install dependencies
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@v2
with:
version: 6.23.6
version: 8
run_install: true

- name: Create code coverage
run: |
pnpm test:ci:coverage
pnpm test:coverage
env:
CI: true

- name: Store code coverage
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: code-coverage
path: coverage
Expand All @@ -53,15 +53,15 @@ jobs:
id: check-secrets
run: |
if [ -n "${{ secrets.GITHUB_TOKEN }}" ]; then
echo "::set-output name=github::yes"
echo "github=yes" >> $GITHUB_OUTPUT
else
echo "::set-output name=github::no"
echo "github=no" >> $GITHUB_OUTPUT
echo "::warning ::GITHUB_TOKEN non set"
fi
if [ -n "${{ secrets.SONAR_TOKEN }}" ]; then
echo "::set-output name=sonar::yes"
echo "sonar=yes" >> $GITHUB_OUTPUT
else
echo "::set-output name=sonar::no"
echo "sonar=no" >> $GITHUB_OUTPUT
echo "::warning ::SONAR_TOKEN non set"
fi
Expand All @@ -72,7 +72,7 @@ jobs:
runs-on: 'ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Unshallow clone to provide blame information
run: git fetch --unshallow
Expand All @@ -84,18 +84,18 @@ jobs:
key: ${{ runner.os }}-node16-${{ hashFiles('**/pnpm-lock.yaml') }}

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'

- name: Install dependencies
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@v2
with:
version: 6.23.6
version: 8
run_install: true

- name: Obtain code coverage
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: code-coverage
path: coverage
Expand Down
Loading

0 comments on commit a9bf742

Please sign in to comment.