From 680ca21cb53313caa3baf6a432d0aae6664ba906 Mon Sep 17 00:00:00 2001 From: Boris Kubiak Date: Thu, 7 Mar 2024 13:31:36 +0100 Subject: [PATCH] Fix publish action --- .github/workflows/publish.yml | 3 +++ README.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 32f7393..cfeca2f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,6 +10,9 @@ jobs: with: node-version: '20' + - name: Install dependencies + run: npm ci + - name: Publish on npm uses: JS-DevTools/npm-publish@v1 if: startsWith(github.ref, 'refs/tags/') diff --git a/README.md b/README.md index 1cb50ba..db5d60f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # WakaTime to Toggl [![Build Status](https://flat.badgen.net/github/checks/bokub/wakatime-to-toggl?label=build)](https://github.com/bokub/wakatime-to-toggl/actions/workflows/run.yml?query=branch%3Amaster) -[![Version](https://flat.badgen.net/github/release/bokub/wakatime-to-toggl?label=version)](https://github.com/bokub/wakatime-to-toggl/releases) +[![Version](https://runkit.io/bokub/npm-version/branches/master/wakatime-to-toggl?style=flat)](https://github.com/bokub/wakatime-to-toggl/releases) [![Downloads](https://flat.badgen.net/npm/dm/wakatime-to-toggl?color=orange)](https://www.npmjs.com/package/wakatime-to-toggl) [![Code style](https://flat.badgen.net/badge/code%20style/prettier/ff69b4)](https://github.com/bokub/prettier-config)