Skip to content

Updated workflow

Updated workflow #7

Workflow file for this run

name: Debugging
on: [push]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Installing dependencies
run: npm ci
- name: Build package
run: npm run build -- --filter=svelte-reveal
- name: Pack build artifacts
run: npm run pack -- --filter=svelte-reveal
- uses: actions/upload-artifact@v4
with:
name: my-artifact
path: ./packages/svelte-reveal/svelte-reveal-*.tgz
- name: Publish to NPM
id: publish
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/svelte-reveal/package.json
dry-run: true