Skip to content

Merge pull request #381 from jamashita/develop #158

Merge pull request #381 from jamashita/develop

Merge pull request #381 from jamashita/develop #158

Workflow file for this run

name: 'Release'
on:
workflow_dispatch:
push:
branches:
- 'release'
jobs:
release:
if: '!contains(github.event.head_commit.message, ''skip ci'')'
runs-on: 'ubuntu-latest'
timeout-minutes: 15
steps:
- name: 'Check out repository'
uses: 'actions/checkout@v4'
with:
ref: '${{ github.event.pull_request.head.sha }}'
- name: 'Use Node.js 20.10'
uses: 'actions/setup-node@v4'
with:
node-version: '20.10'
cache: 'yarn'
registry-url: 'https://npm.pkg.github.com'
scope: '@jamashita'
env:
NODE_AUTH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
- name: 'Set up'
run: 'yarn install --frozen-lockfile'
- name: 'Publish to GPR'
run: 'yarn release'
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
NPM_TOKEN: '${{ secrets.GITHUB_TOKEN }}'