Pre-release #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pre-release | |
on: workflow_dispatch | |
jobs: | |
release: | |
name: Pre-release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
# https://github.com/actions/checkout | |
uses: actions/checkout@v3 | |
# Setup .npmrc file to publish to npm | |
- uses: actions/setup-node@v3 | |
with: | |
registry-url: "https://registry.npmjs.org" | |
- uses: ./.github/actions/pnpm-setup | |
- name: Install dependencies | |
run: pnpm install | |
- name: Check codestyle | |
run: pnpm lint | |
- name: Publish Pre-release to npm | |
run: pnpm release-snapshot | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |