-
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 pull request #42 from nodecfdi/dev
chore: version bump 1.0.1
- Loading branch information
Showing
34 changed files
with
3,928 additions
and
2,978 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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"$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": [] | ||
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
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 @@ | ||
module.exports = { extends: ['@commitlint/config-conventional'] }; |
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,22 @@ | ||
root = true | ||
# http://editorconfig.org | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
max_line_length = 80 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
[*.json] | ||
insert_final_newline = unset | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 | ||
[**.min.js] | ||
indent_style = unset | ||
insert_final_newline = unset | ||
|
||
[MakeFile] | ||
indent_style = space | ||
|
||
[docker-compose.yml] | ||
indent_size = 4 | ||
[*.md] | ||
trim_trailing_whitespace = false |
This file was deleted.
Oops, something went wrong.
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,80 +1,81 @@ | ||
name: build | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
pull_request: | ||
branches: | ||
- main | ||
- dev | ||
schedule: | ||
- cron: '0 16 * * 0' # sunday 16:00 | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
pull_request: | ||
branches: | ||
- main | ||
- dev | ||
schedule: | ||
- cron: '0 16 * * 0' # sunday 16:00 | ||
|
||
jobs: | ||
build: | ||
name: Node unit tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: ['16', '17', '18', '19', '20'] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
build: | ||
name: Node unit tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: ['16', '17', '18', '19', '20'] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Cache .pnpm-store | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.pnpm-store | ||
key: ${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
- name: Cache .pnpm-store | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.pnpm-store | ||
key: ${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: Install dependencies | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
run_install: true | ||
- name: Install dependencies | ||
uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
run_install: true | ||
|
||
- name: Lint source | ||
run: | | ||
pnpm lint:check | ||
- name: Format source | ||
run: | | ||
pnpm format:check | ||
- name: Lint source | ||
run: | | ||
pnpm lint:check | ||
- name: Build package | ||
run: | | ||
pnpm build | ||
- name: Format source | ||
run: | | ||
pnpm format:check | ||
- name: Run tests | ||
run: | | ||
pnpm test:run | ||
env: | ||
CI: true | ||
- name: Build package | ||
run: | | ||
pnpm build | ||
- name: 'Consume changesets' | ||
if: github.event_name == 'push' && github.repository == 'nodecfdi/base-converter' && matrix.node == 16 && github.ref == 'refs/heads/main' | ||
uses: changesets/action@v1 | ||
id: 'changesets' | ||
with: | ||
# This expects you to have a script called release which does a build for your packages and calls changeset publish | ||
publish: pnpm release | ||
commit: 'chore: version bump' | ||
title: Next release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- name: Run tests | ||
run: | | ||
pnpm test:run | ||
env: | ||
CI: true | ||
|
||
- name: 'Generate docs' | ||
if: steps.changesets.outputs.published == 'true' | ||
run: pnpm gen:docs | ||
- name: 'Consume changesets' | ||
if: github.event_name == 'push' && github.repository == 'nodecfdi/base-converter' && matrix.node == '20' && github.ref == 'refs/heads/main' | ||
uses: changesets/action@v1 | ||
id: 'changesets' | ||
with: | ||
# This expects you to have a script called release which does a build for your packages and calls changeset publish | ||
publish: pnpm release | ||
commit: 'chore: :rocket: version bump' | ||
title: Next release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: Commit docs | ||
if: steps.changesets.outputs.published == 'true' | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: 'docs: generate docs' | ||
- name: 'Generate docs' | ||
if: steps.changesets.outputs.published == 'true' | ||
run: pnpm gen:docs | ||
|
||
- name: Commit docs | ||
if: steps.changesets.outputs.published == 'true' | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: 'docs: :memo: generate docs' |
Oops, something went wrong.