Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: changeset/actions minor fixes #595

Merged
merged 4 commits into from
Oct 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/publish-latest.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish to @next
name: Publish to latest

on:
push:
Expand All @@ -16,14 +16,14 @@ jobs:
with:
node-version: lts/*
cache: 'yarn'
- name: Install packages
run: yarn --frozen-lockfile
# - name: Install and build packages # commented out until we're ready for GA release
# run: yarn --frozen-lockfile
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@b98cec97583b917ff1dc6179dd4d230d3e439894
with:
version: yarn version:latest
# publish: yarn release:latest # commented out until we're ready for GA release
# with:
# version: yarn version:latest # commented out until we're ready for GA release
# publish: yarn release:latest # commented out until we're ready for GA release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # commented out until we're ready for GA release
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prepare": "husky install",
"version:next": "yarn changeset version --snapshot next && yarn build",
"publish:next": "yarn changeset publish --tag next",
"version:latest": "yarn changeset version && yarn build",
"version:latest": "echo \"not implemented until stable release\"",
"publish:latest": "echo \"not implemented until stable release\""
},
"workspaces": [
Expand Down Expand Up @@ -48,6 +48,7 @@
},
"devDependencies": {
"@changesets/cli": "^2.16.0",
"@changesets/changelog-github": "0.4.1",
"husky": ">=6",
"lint-staged": ">=10",
"prettier": "2.3.2",
Expand Down
28 changes: 25 additions & 3 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.