Publish Package to npmjs #49
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
# https://github.com/marketplace/actions/npm-publish | ||
name: Publish Package to npmjs | ||
on: | ||
release: | ||
types: [created] | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
env: | ||
VITE_SUPABASE_URL: '${{ env.SUPABASE_URL }}' | ||
Check failure on line 11 in .github/workflows/publish-to-npm-registry.yml GitHub Actions / Publish Package to npmjsInvalid workflow file
|
||
VITE_SUPABASE_KEY: '${{ env.SUPABASE_KEY }}' | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- run: npm install | ||
- run: npm run types | ||
- run: npm run build | ||
- uses: JS-DevTools/npm-publish@v1 | ||
with: | ||
token: ${{ secrets.NPM_TOKEN }} | ||
access: public |