Skip to content

Commit

Permalink
Release @argent-x/[email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
gergold committed Oct 13, 2023
1 parent 13ca7b4 commit 9809241
Show file tree
Hide file tree
Showing 1,476 changed files with 71,287 additions and 44,193 deletions.
5 changes: 5 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 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 changes: 15 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "release/next",
"updateInternalDependencies": "patch",
"ignore": [],
"privatePackages": {
"tag": true,
"version": true
}
}
12 changes: 0 additions & 12 deletions .github/dependabot.yml

This file was deleted.

68 changes: 68 additions & 0 deletions .github/workflows/changeset.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Bootstrap Release

on:
push:
branches:
- release/next

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
create-release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
token: ${{ secrets.ARGENTBOT_GITHUB_PAT }}

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"

- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install

- name: Create Release Pull Request
id: changesets
uses: changesets/action@v1
with:
version: bash ./scripts/version.sh
env:
GITHUB_TOKEN: ${{ secrets.ARGENTBOT_GITHUB_PAT }}

- name: Tag
if: steps.changesets.outputs.hasChangesets == 'false'
# replace GITHUB_TOKEN with PAT to allow CI to run on tags
env:
GITHUB_TOKEN: ${{ secrets.ARGENTBOT_GITHUB_PAT }}
# You can do something when a publish should happen.
run: |
# check if tags already exists
pnpm changeset tag
git push --follow-tags origin ${{ github.ref }}
Loading

0 comments on commit 9809241

Please sign in to comment.