Skip to content

Merge branch 'main' of github.com:fabianbormann/meerkat into main #45

Merge branch 'main' of github.com:fabianbormann/meerkat into main

Merge branch 'main' of github.com:fabianbormann/meerkat into main #45

Workflow file for this run

name: Release
on:
push:
branches: ['main']
pull_request:
branches: ['main']
workflow_dispatch:
jobs:
create_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: release-please-action
uses: google-github-actions/release-please-action@v3
with:
release-type: node
versioning-strategy: always-bump-patch
publish:
environment: CI
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, 'release-please--branches--main')"
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3.4.1
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci --ignore-scripts
- name: bundle
run: npm run build
- name: configure npm
run: |
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc
- name: Publish package on npmjs 📦
run: npm publish
env:
NPM_TOKEN: ${{ secrets.NPMJS_SECRET }}