Skip to content

release test

release test #6

Workflow file for this run

name: Test
on: push
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false
- name: Install packages
run: pnpm i --ignore-scripts
- name: Release check&build
run: pnpm check
- name: Setup npm auth
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" >> ~/.npmrc
npm whoami
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Registry release
run: pnpm publish -r --ignore-scripts --access public --filter "@location-state/*" --publish-branch=release-ci-test
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}