Skip to main content
Module

x/value_schema/.github/workflows/publish.yml

simple, easy-to-use, and declarative input validator; supports Node.js, TypeScript, and Deno
Go to Latest
File
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
on: release: types: - publishedname: publishjobs: publish: name: publish to npmjs.com runs-on: ubuntu-latest steps: - name: Checkout source codes uses: actions/checkout@v2 - name: Install Node.js uses: actions/setup-node@v1 with: node-version: 12 registry-url: https://registry.npmjs.org/ - name: Output versions run: | node -v npm -v - name: Install dependencies run: npm ci - name: Build package run: npm run build - name: Publish package run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}