Skip to content

Commit de691a0

Browse files
committed
add changesets
1 parent 4d6820b commit de691a0

File tree

7 files changed

+7699
-6
lines changed

7 files changed

+7699
-6
lines changed

.changeset/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "restricted",
8+
"baseBranch": "master",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.github/workflows/build.workflow.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Node.js
2323
uses: actions/setup-node@v1
2424
with:
25-
node-version: 12
25+
node-version: 16
2626

2727
- name: Install depedencies from NPM
2828
run: npm install
+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
concurrency: ${{ github.workflow }}-${{ github.ref }}
9+
10+
jobs:
11+
release:
12+
name: Release
13+
runs-on: ubuntu-latest
14+
env:
15+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
16+
steps:
17+
- name: Checkout Repo
18+
uses: actions/checkout@v3
19+
20+
- name: Setup Node.js 16
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: 16
24+
25+
- name: Install Dependencies
26+
run: npm ci
27+
28+
- name: Build Project
29+
run: npm run build
30+
31+
- name: Create Release Pull Request
32+
uses: changesets/action@v1
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
node_modules/
33
jspm_packages/
44

5-
package-lock.json
65
pnpm-lock.yaml
76
yarn.lock
87

0 commit comments

Comments
 (0)