Skip to content

chore(preview): use x-for #3

chore(preview): use x-for

chore(preview): use x-for #3

name: release-please
on:
push:
branches: [main]
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
- uses: actions/checkout@v3
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v3
if: ${{ steps.release.outputs.release_created }}
with:
node-version: "lts/*"
cache: "npm"
- name: Build
if: ${{ steps.release.outputs.release_created }}
run: |
npm ci
npm pack
- uses: JS-DevTools/npm-publish@v2
if: ${{ steps.release.outputs.release_created }}
with:
token: ${{ secrets.NPM_TOKEN }}