Skip to content
Closed
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
24 changes: 9 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,43 +13,37 @@ jobs:
matrix:
node-version: [18.x, 20.x, 22.x, 24.x, 25.x]
steps:
- name: Find yarn cache
id: find-yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: git checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Cache yarn dependencies
- name: yarn cache
uses: actions/cache@v5
with:
path: ${{steps.find-yarn-cache.outputs.dir}}
path: ~/.yarn/berry/cache
key: ${{runner.os}}-node${{matrix.node-version}}-yarn-${{hashFiles('**/yarn.lock')}}
restore-keys: ${{runner.os}}-node${{matrix.node-version}}-yarn-
- name: Set up Node.js v${{matrix.node-version}}
uses: actions/setup-node@v6
with:
node-version: ${{matrix.node-version}}
- run: yarn
- run: yarn test
- run: yarn lint
- run: corepack yarn
- run: corepack yarn test
- run: corepack yarn lint
deploy:
name: Deploy
runs-on: ubuntu-latest
needs: build-and-test
steps:
- name: Find yarn cache
id: find-yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: git checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Cache yarn dependencies
- name: yarn cache
uses: actions/cache@v5
with:
path: ${{steps.find-yarn-cache.outputs.dir}}
path: ~/.yarn/berry/cache
key: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-${{hashFiles('**/yarn.lock')}}
restore-keys: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: ${{env.DEPLOY_NODE_VERSION}}
- run: yarn
- run: yarn semantic-release
- run: corepack yarn
- run: corepack yarn semantic-release
21 changes: 17 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
/node_modules
package-lock.json
yarn-error.log
npm-debug.log*
# Build output
*.js
*.d.ts
*.js.map
!/types/*.d.ts

# Yarn
/node_modules
/.pnp.*
/.yarn/*
!/.yarn/patches
!/.yarn/plugins
!/.yarn/releases
!/.yarn/sdks
!/.yarn/versions
yarn-error.log

# In case someone runs npm by accident
package-lock.json
npm-debug.log*

# Personal WebStorm IDE files
/.idea/workspace.xml
/.idea/tasks.xml
Expand Down
Binary file added .yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@softwareventures/precise-commits": "4.0.23",
"@softwareventures/prettier-config": "4.0.0",
"@softwareventures/semantic-release-config": "5.2.0",
"conventional-changelog-conventionalcommits": "7.0.2",
"conventional-changelog-conventionalcommits": "9.3.1",
"cz-conventional-changelog": "3.3.0",
"husky": "9.1.7",
"pinst": "3.0.0",
Expand All @@ -43,5 +43,5 @@
"release": {
"extends": "@softwareventures/semantic-release-config"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
"packageManager": "yarn@4.13.0"
}
Loading