Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ci(release): change the branchs master to main in release.yml#6

ci(release): change the branchs master to main in release.yml

ci(release): change the branchs master to main in release.yml #6

Workflow file for this run

name:release
on:
pull_request:
types:[closed]
branches:
-main
workflow_dispatch:{}
jobs:
publish:
if:github.event.pull_request.merged == true
runs-on:ubuntu-latest
permissions:
contents:write
pull-requests:write
id-token:write# for npm provenance
steps:
-name:Checkout
uses:actions/checkout@v4
-name:Setup pnpm
uses:pnpm/action-setup@v4
with:
version:10
-name:Setup Node.js
uses:actions/setup-node@v4
with:
node-version:20
registry-url:'https://registry.npmjs.org'
cache:'pnpm'
-name:Install dependencies
run:pnpm install --frozen-lockfile
-name:Test
run:pnpm run --if-present test
-name:Build
run:pnpm run --if-present release:build || pnpm run --if-present build
-name:Changesets - Version or Publish
uses:changesets/action@v1
with:
version:pnpm run changeset:version
publish:pnpm run changeset:publish
env:
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN:${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE:true

[8]ページ先頭

©2009-2025 Movatter.jp