mirror of
https://github.com/notrab/dumbo.git
synced 2025-01-16 13:50:03 +01:00
chore: cleanup changesets
This commit is contained in:
parent
f83c3915b0
commit
e4bf36ac07
@ -1,15 +0,0 @@
|
||||
{
|
||||
"$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": [],
|
||||
"privatePackages": {
|
||||
"tag": true,
|
||||
"version": true
|
||||
}
|
||||
}
|
@ -27,13 +27,20 @@ jobs:
|
||||
- name: Install Dependencies
|
||||
run: composer install --no-progress --no-suggest --prefer-dist
|
||||
|
||||
- name: Create Release Pull Request or Publish to Packagist
|
||||
id: changesets
|
||||
uses: changesets/action@v1
|
||||
- name: Run Tests
|
||||
run: vendor/bin/phpunit
|
||||
|
||||
- name: Bump version and push tag
|
||||
id: tag_version
|
||||
uses: mathieudutour/github-tag-action@v6.1
|
||||
with:
|
||||
commit: "chore(release): version packages"
|
||||
title: "chore(release): version packages"
|
||||
publish: composer run release
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Create Release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
PACKAGIST_TOKEN: ${{ secrets.PACKAGIST_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ steps.tag_version.outputs.new_tag }}
|
||||
release_name: Release ${{ steps.tag_version.outputs.new_tag }}
|
||||
body: ${{ steps.tag_version.outputs.changelog }}
|
@ -44,10 +44,7 @@
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"test": "vendor/bin/phpunit tests",
|
||||
"changeset": "changeset",
|
||||
"version": "changeset version",
|
||||
"release": "changeset publish"
|
||||
"test": "vendor/bin/phpunit tests"
|
||||
},
|
||||
"minimum-stability": "stable",
|
||||
"prefer-stable": true
|
||||
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"name": "@notrab/dumbo",
|
||||
"private": true,
|
||||
"version": "1.0.0"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user