Setup changesets
This commit is contained in:
parent
d27f7214a8
commit
a70c4231b7
5 changed files with 772 additions and 3 deletions
8
.changeset/README.md
Normal file
8
.changeset/README.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Changesets
|
||||
|
||||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
|
||||
with multi-package repos, or single-package repos to help you version and publish your code. You can
|
||||
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
|
||||
|
||||
We have a quick list of common questions to get you started engaging with this project in
|
||||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
|
15
.changeset/config.json
Normal file
15
.changeset/config.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json",
|
||||
"changelog": "@changesets/cli/changelog",
|
||||
"commit": false,
|
||||
"fixed": [],
|
||||
"linked": [],
|
||||
"access": "restricted",
|
||||
"baseBranch": "main",
|
||||
"updateInternalDependencies": "patch",
|
||||
"ignore": [],
|
||||
"privatePackages": {
|
||||
"version": true,
|
||||
"tag": true
|
||||
}
|
||||
}
|
39
.github/workflows/prepare-release.yml
vendored
Normal file
39
.github/workflows/prepare-release.yml
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
name: Open release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
#
|
||||
# TODO
|
||||
# - Add tags for each app (e.g. search@3.0.1) for easier parsing
|
||||
# - Print versions name to commit, for easier Vercel deployments
|
||||
#
|
||||
jobs:
|
||||
release:
|
||||
name: Prepare release with Changesets
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node.js 16 # It was default for Changesets action, check if it can be bumped to v18
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- uses: pnpm/action-setup@v2
|
||||
name: Install pnpm
|
||||
- run: pnpm install
|
||||
- name: Create Release Pull Request
|
||||
uses: changesets/action@v1
|
||||
id: changesets
|
||||
with:
|
||||
title: Release apps
|
||||
commit: Release apps
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: print outputs
|
||||
run: "echo '${{toJSON(steps.changesets)}}}'"
|
|
@ -14,9 +14,10 @@
|
|||
"format": "prettier --write \"**/*.{ts,tsx,md}\""
|
||||
},
|
||||
"devDependencies": {
|
||||
"@changesets/cli": "^2.26.0",
|
||||
"eslint-config-saleor": "workspace:*",
|
||||
"prettier": "^2.8.3",
|
||||
"turbo": "^1.7.3",
|
||||
"eslint-config-saleor": "workspace:*"
|
||||
"turbo": "^1.7.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
|
|
708
pnpm-lock.yaml
708
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue