Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"lockFileMaintenance": { "enabled": true, "automerge": true },
"rangeStrategy": "replace",
"postUpdateOptions": ["yarnDedupeHighest"]
"rangeStrategy": "replace"
}
17 changes: 11 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,34 @@ jobs:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js LTS ✨
uses: actions/setup-node@v3
with:
node-version: lts/*
registry-url: https://registry.npmjs.org
cache: yarn
cache: pnpm

- name: Install dependencies 📦️
run: yarn install --immutable
run: pnpm install --immutable

- name: Build 🔨
run: yarn build
run: pnpm build

- name: Publish 🚀
run: yarn publish --non-interactive --new-version ${TAG#v} --no-git-tag-version
run:
pnpm publish --non-interactive --new-version ${TAG#v}
--no-git-tag-version
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
TAG: ${{ github.event.release.tag_name }}

- name: Push version changes to main branch
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "chore: release ${{ github.event.release.tag_name }}"
commit_message: 'chore: release ${{ github.event.release.tag_name }}'
branch: main
file_pattern: package.json

14 changes: 9 additions & 5 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,30 @@ on:
branches:
- main
pull_request:


jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: lts/*
registry-url: https://registry.npmjs.org
cache: yarn
cache: pnpm

- run: yarn install
- run: pnpm install

- run: yarn run build
- run: pnpm run build

- run: yarn test
- run: pnpm test
env:
CI: true
BASE_URL: https://api.tripletex.io/
Expand Down
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
Expand Down Expand Up @@ -65,9 +63,6 @@ typings/
# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ way to interface with Tripletex methods while having type-safety.
Install it via:

```shell
yarn add tripletexjs
pnpm add tripletexjs
```

## Contributing
Expand Down
Loading
Loading