Skip to content

chore(main): release 1.0.0 (#147) #126

chore(main): release 1.0.0 (#147)

chore(main): release 1.0.0 (#147) #126

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
env:
HUSKY: 0
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: node
package-name: svelte-adapter-appengine
# The logic below handles the npm publication:
# The if statements ensure that a publication only occurs when a new release is created
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}