Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/github-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ jobs:
- name: Install Node.js and npm
uses: actions/setup-node@v3
with:
always-auth: true
node-version: ${{ env.NODE_VERSION }}
registry-url: https://npm.pkg.github.com
registry-url: https://npm.pkg.github.com/locusrobotics

- name: Install dependencies
if: steps.cacheNpm.outputs.cache-hit != 'true'
Expand All @@ -51,8 +52,9 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm whoami --registry https://npm.pkg.github.com
ls -al
npm publish --registry https://npm.pkg.github.com
npm publish --registry https://npm.pkg.github.com/locusrobotics

- name: Create and publish a release
uses: softprops/action-gh-release@v1
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ This plugin enables Azure Functions support within the Serverless Framework.

<!-- [![Node Integration Tests](https://github.com/serverless/serverless-azure-functions/workflows/Node%20Integration%20Tests/badge.svg)](https://github.com/serverless/serverless-azure-functions/actions?query=workflow%3A%22Node+Integration+Tests%22) [![Python Integration Tests](https://github.com/serverless/serverless-azure-functions/workflows/Python%20Integration%20Tests/badge.svg)](https://github.com/serverless/serverless-azure-functions/actions?query=workflow%3A%22Python+Integration+Tests%22) [![.NET Integration Tests](https://github.com/serverless/serverless-azure-functions/workflows/.NET%20Integration%20Tests/badge.svg)](https://github.com/serverless/serverless-azure-functions/actions?query=workflow%3A%22.NET+Integration+Tests%22) -->

## Tagging (Locus)

When developing a feature/bug, create a feature branch from the correct branch (publish-2.2.1). Be sure to update the package.json version to the next sequential letter.
When the feature branch is merged into branch `publish-2.2.1`, create a tag via the `scripts/tagBranchForRelease.sh`.

```bash
$ git checkout publish-2.2.1
$ git pull
$ ./scripts/tagBranchForRelease.sh publish-2.2.1
```

Once the tag is pushed, the GitHub action workflow, `github-publish.yml` should run, which will do the publish to the private GitHub package registry.

## Quickstart

### Pre-requisites
Expand Down