Skip to content

Commit

Permalink
wip: setup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
erich2s committed Mar 16, 2024
1 parent 63c2757 commit f0a2bba
Show file tree
Hide file tree
Showing 5 changed files with 1,051 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -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)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
23 changes: 23 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI
on:
push:
branches:
- "**"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: pnpm setup
uses: pnpm/action-setup@v3
with:
version: 8
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm lint && pnpm build
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"react": "^18.2.0"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@swc/core": "^1.4.8",
"@types/node": "^20.11.27",
"@types/react": "^18.2.65",
Expand Down
Loading

0 comments on commit f0a2bba

Please sign in to comment.