Skip to content

🤖 PATCH(plugin/flydrive): patch @poppinss/utils webpack incompatible … #199

🤖 PATCH(plugin/flydrive): patch @poppinss/utils webpack incompatible …

🤖 PATCH(plugin/flydrive): patch @poppinss/utils webpack incompatible … #199

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
pull-requests: write
## for pnpm provenance
# id-token: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.CHANGESET_APP_ID }}
private-key: ${{ secrets.CHANGESET_APP_SECRET }}
- name: Checkout Repo
uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- name: Use pNpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "pnpm"
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Install
run: pnpm i
- 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: pnpm release
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
## npm provenance
# NPM_CONFIG_PROVENANCE: true