1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-09-01 19:22:35 +02:00

Fix release versioning (#4516)

* correct immutability lockfile flag for yarn 3

* More experiments to re-enable the Version Packages action

* add changeset

* more work to fix automated changeset workflow
This commit is contained in:
Dylan Schiemann
2021-09-13 22:09:00 +01:00
committed by GitHub
parent cd39284838
commit 59ca7a8f51
3 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
'slate': patch
---
another attempt to get the automated changeset workflow working again

View File

@@ -40,7 +40,8 @@ jobs:
if: matrix.channel == 'latest'
uses: changesets/action@master
with:
version: yarn changeset version && yarn install && git add .
# defined in package.json#scripts
version: changeset:version
publish: yarn changeset publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -8,6 +8,7 @@
"build": "yarn build:rollup && yarn build:next",
"build:next": "cd ./site && next build && next export",
"build:rollup": "rollup --config ./config/rollup/rollup.config.js",
"changeset:version": "yarn changeset version && yarn install && git add .",
"clean": "rimraf './packages/*/{dist,lib,node_modules}' './site/{.next,out}'",
"fix": "yarn fix:prettier && yarn fix:eslint",
"fix:eslint": "yarn lint:eslint --fix",