Skip to content

Merge pull request #450 from jamashita/develop #168

Merge pull request #450 from jamashita/develop

Merge pull request #450 from jamashita/develop #168

Workflow file for this run

name: 'Release'
on:
push:
branches:
- 'release'
jobs:
release:
if: '!contains(github.event.head_commit.message, ''skip ci'')'
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout repository'
uses: 'actions/checkout@v3'
with:
ref: '${{ github.event.pull_request.head.sha }}'
- name: 'Use Node.js 20.6'
uses: 'actions/setup-node@v3'
with:
node-version: '20.6'
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: 'Compile'
run: 'yarn build'
- name: 'Publish to GPR'
run: 'yarn release'
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
NPM_TOKEN: '${{ secrets.GITHUB_TOKEN }}'