Publish dev pre-release NPM packages #36
Workflow file for this run
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: Publish dev pre-release NPM packages | |
on: workflow_dispatch | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.IMJS_ADMIN_GH_TOKEN }} | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
registry-url: https://registry.npmjs.org/ | |
- name: Configure git | |
run: | | |
git config --local user.email [email protected] | |
git config --local user.name imodeljs-admin | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
with: | |
version: 8.15.1 | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile=true | |
- name: Run Tests | |
run: pnpm run cover | |
- name: Git Commit action | |
run: | | |
git commit -m "Version bump (skip actions)" | |