diff --git a/.changeset/README.md b/.changeset/README.md new file mode 100644 index 0000000..e5b6d8d --- /dev/null +++ b/.changeset/README.md @@ -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) diff --git a/.changeset/config.json b/.changeset/config.json new file mode 100644 index 0000000..91b6a95 --- /dev/null +++ b/.changeset/config.json @@ -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": [] +} diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml deleted file mode 100644 index 2f5ee7d..0000000 --- a/.github/workflows/actions.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: tests -run-name: ${{ github.actor }} - ${{ github.event_name }} -on: [push] -jobs: - greeting_job: - runs-on: ubuntu-latest - env: - SECRET: ${{ secrets.MY_SECRET }} - steps: - - name: "Secrety" - run: echo "here's my secret ${SECRET^^}!" - env: - First_Name: Mona diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..abf820c --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,40 @@ +name: Release + +on: + push: + branches: + - actions-config + +concurrency: ${{ github.workflow }}-${{ github.ref }} + +jobs: + release: + name: Release + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v3 + + - name: Setup Bun + uses: oven-sh/setup-bun@v1 + + - name: Install Dependencies + run: bun install --frozen-lockfile + + - name: Build + run: bun run build + + # - name: Create Release Pull Request or Publish to npm + # id: changesets + # uses: changesets/action@v1 + # with: + # # This expects you to have a script called release which does a build for your packages and calls changeset publish + # publish: bun run release + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + + # - name: Send a Slack notification if a publish happens + # if: steps.changesets.outputs.published == 'true' + # # You can do something when a publish happens. + # run: my-slack-bot send-notification --message "A new version of ${GITHUB_REPOSITORY} was published!" diff --git a/bun.lockb b/bun.lockb index 35aa7a1..7be76fe 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 50c4cd4..78cc59b 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,6 @@ "examples/*" ], "dependencies": { - "next": "^14.1.0" + "@changesets/cli": "^2.27.1" } }