Skip to content

v0.5.3

v0.5.3 #89

Workflow file for this run

name: npm-publish
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 9
- name: Setup Node 🔧
uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'pnpm'
cache-dependency-path: pnpm-lock.yaml
registry-url: 'https://registry.npmjs.org'
- name: Cache pnpm store
id: cache
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pnpm install
- run: pnpm sdk build
- run: pnpm publish --filter=yorkie-js-sdk --no-git-checks --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}