Skip to content

Commit

Permalink
docs(badges): add status badges in readme for test and publish satus …
Browse files Browse the repository at this point in the history
…of current version
  • Loading branch information
blmarquess committed Feb 12, 2024
1 parent 1bf0b58 commit 3a934a8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,23 @@ name: Publish to NPM

on:
push:
branches:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- name: Install dependencies and build 🔧
run: npm ci && npm run build
- name: Publish package on NPM 📦
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_REGISTRY_URL: https://registry.npmjs.org/
- run: npm publish --registry=$NPM_REGISTRY_URL
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[![.github/workflows/publish.yml](https://github.com/blmarquess/azure-storage-provider-strapi/actions/workflows/publish.yml/badge.svg)](https://github.com/blmarquess/azure-storage-provider-strapi/actions/workflows/publish.yml)

[![Application Tests](https://github.com/blmarquess/azure-storage-provider-strapi/actions/workflows/tests.yml/badge.svg)](https://github.com/blmarquess/azure-storage-provider-strapi/actions/workflows/tests.yml)

# Azure Storage Provider for Strapi

This is a Strapi provider for Azure Storage, allowing you to utilize Azure Blob Storage for your Strapi media uploads.
Expand Down

0 comments on commit 3a934a8

Please sign in to comment.