Skip to content

Commit

Permalink
ci(release): update package-lock.json after versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
iiroj committed Aug 18, 2023
1 parent 82c2142 commit 1ff4e11
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 0 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "iiroj/iiro.fi" }],
"commit": true,
"access": "restricted",
"baseBranch": "main"
}
1 change: 1 addition & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
uses: ./.github/workflows/install-lint.yml

changesets:
if: ${{ !(github.event.head_commit.message, 'chore(changeset)') }}
needs:
- Shared
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
- name: Create Release Pull Request
uses: changesets/action@v1
with:
commit: "chore(release): bump version"
title: "chore(release): bump version"
publish: npx changeset tag
title: "🦋 Changeset release"
version: npm run version
publish: npm run publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"scripts": {
"lint": "prettier --list-different .",
"changeset": "changeset",
"version": "npx changeset version",
"postversion": "npm i --package-lock-only && git commit -am \"chore(changeset): release\"",
"publish": "npx changeset tag",
"cdk": "cdk"
},
"devDependencies": {
Expand Down

0 comments on commit 1ff4e11

Please sign in to comment.