Skip to content

ci: test clean action #3

ci: test clean action

ci: test clean action #3

Workflow file for this run

name: Publish to NPM TEST
on:
pull_request:
branches: [master]
jobs:
publish_job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
submodules: true
token: ${{ secrets.PAT_GITHUB }}
- name: Checkout Rive Renderer Repo
uses: actions/checkout@v4
with:
submodules: true
repository: rive-app/rive-renderer
token: ${{ secrets.PAT_GITHUB }}
path: ./wasm/submodules/rive-renderer
ref: main
- name: Setup Git config
run: |
git config --local user.email '[email protected]'
git config --local user.name ${{ github.actor }}
- uses: actions/setup-node@v2
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- name: Install modules
run: cd js && npm install
- name: Setup Ninja
uses: seanmiddleditch/gha-setup-ninja@master
- name: Minor release test
run: npm run release:minor
working-directory: ./js
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
PAT_GITHUB: ${{ secrets.PAT_GITHUB }}