Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nejcm committed Jan 26, 2025
1 parent 3894f07 commit 6fe2c55
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
- name: ⚙️ Enable Corepack
run: corepack enable

- name: 📦 Set Yarn Version
run: yarn set version 4.6.0

- name: 💿 Setup Nodejs
uses: actions/setup-node@v4
with:
Expand All @@ -29,9 +32,6 @@ jobs:
registry-url: 'https://npm.pkg.github.com'
cache: 'yarn'

- name: Install the correct Yarn version
run: yarn set version $(node -p 'require("./package.json").packageManager.replace("yarn@", "")')

- name: 🧩 Install dependencies
run: yarn install --immutable

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
- name: ⚙️ Enable Corepack
run: corepack enable

- name: 📦 Set Yarn Version
run: yarn set version 4.6.0

- name: ⚙️ Git config
run: |
git config user.name "${GITHUB_ACTOR}"
Expand All @@ -36,9 +39,6 @@ jobs:
registry-url: 'https://npm.pkg.github.com'
cache: 'yarn'

- name: Install the correct Yarn version
run: yarn set version $(node -p 'require("./package.json").packageManager.replace("yarn@", "")')

- name: 🧩 Install dependencies
run: yarn install --immutable

Expand Down
3 changes: 1 addition & 2 deletions .release-it.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@ module.exports = {
requireCleanWorkingDir: false,
},
npm: {
publish: false,
publish: true,
publishPath: 'https://npm.pkg.github.com',
},
github: {
release: true,
},
hooks: {
'before:git:release': ['git add --all'],
'after:release': 'yarn publish',
},
};

0 comments on commit 6fe2c55

Please sign in to comment.