Skip to content

Revert "Delorean badge rework (#57)" (#63) #157

Revert "Delorean badge rework (#57)" (#63)

Revert "Delorean badge rework (#57)" (#63) #157

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- master
permissions:
contents: write
concurrency: release
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Configure git
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: Bump version
run: |
npm version patch
git push
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Release
run: |
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
npm publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}