Skip to content

Merge branch 'main' of github.com:mateothegreat/svelte5-modal-manager #23

Merge branch 'main' of github.com:mateothegreat/svelte5-modal-manager

Merge branch 'main' of github.com:mateothegreat/svelte5-modal-manager #23

Workflow file for this run

on:
push:
branches:
- main
name: Build, Test and maybe Publish
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install Dependencies
run: npm ci
- name: "Automated Version Bump"
uses: "phips28/gh-action-bump-version@master"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
target-branch: main
commit-message: "CI: bumps version to {{version}} [skip ci]"
- name: Build
run: npm run build
- name: Write out .npmrc
run: echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > ~/.npmrc
- run: npm publish --access=public
working-directory: dist