diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..f618a53 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,32 @@ +name: Release +"on": + push: + branches: + - main + - next + - beta + - alpha + - "*.x" +permissions: + contents: read # for checkout +jobs: + release: + permissions: + contents: write # to be able to publish a GitHub release + issues: write # to be able to comment on released issues + pull-requests: write # to be able to comment on released pull requests + name: release + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + with: + cache: pnpm + node-version: lts/* + - run: pnpm install --frozen-lockfile + - run: npm install --global corepack@latest + - run: corepack pnpm audit signatures + - run: pnpm dlx semantic-release-react@1.0.0-beta.3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index 4704904..bf9e5ca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fircle", - "version": "0.1.0", + "version": "0.0.0", "private": true, "type": "module", "scripts": {