diff --git a/.changeset/sixty-suns-hang.md b/.changeset/sixty-suns-hang.md new file mode 100644 index 000000000..c79059659 --- /dev/null +++ b/.changeset/sixty-suns-hang.md @@ -0,0 +1,5 @@ +--- +'slate': patch +--- + +another attempt to get the automated changeset workflow working again diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7e3760321..38bf9b8fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/package.json b/package.json index a73168d23..bc5be0da0 100644 --- a/package.json +++ b/package.json @@ -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",