More automation work
Some checks failed
Publish to private NPM registry / publish (push) Failing after 26s
Some checks failed
Publish to private NPM registry / publish (push) Failing after 26s
This commit is contained in:
parent
911b689db6
commit
48db1bb21b
2 changed files with 19 additions and 1 deletions
|
|
@ -48,6 +48,24 @@ jobs:
|
||||||
# > Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/).
|
# > Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/).
|
||||||
scope: '@BridgemanAccessible'
|
scope: '@BridgemanAccessible'
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: |
|
||||||
|
# Install Yarn globally
|
||||||
|
npm install -g yarn
|
||||||
|
|
||||||
|
# Not necessarily needed but keeping track of the current directory (so that we can return to it is just a good practice)
|
||||||
|
CURR_DIR="$PWD"
|
||||||
|
|
||||||
|
# Change into the repository directory
|
||||||
|
cd "$GITHUB_WORKSPACE"
|
||||||
|
|
||||||
|
# Install dependencies using Yarn
|
||||||
|
yarn install --frozen-lockfile
|
||||||
|
|
||||||
|
# Return to the original directory
|
||||||
|
cd "$CURR_DIR"
|
||||||
|
|
||||||
# Check if this is a "significant" commit that should trigger a new publish
|
# Check if this is a "significant" commit that should trigger a new publish
|
||||||
# This is done by checking if the latest git tag matches the version in the `package.json` file
|
# This is done by checking if the latest git tag matches the version in the `package.json` file
|
||||||
- name: Version Check
|
- name: Version Check
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@BridgemanAccessible/listmonk-node-client",
|
"name": "@BridgemanAccessible/listmonk-node-client",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"description": "A Node client library for Listmonk",
|
"description": "A Node client library for Listmonk",
|
||||||
"repository": "https://git.bridgemanaccessible.ca/Bridgeman-Accessible/listmonk-nodejs-client.git",
|
"repository": "https://git.bridgemanaccessible.ca/Bridgeman-Accessible/listmonk-nodejs-client.git",
|
||||||
"author": "Bridgeman Accessible<info@bridgemanaccessible.com>",
|
"author": "Bridgeman Accessible<info@bridgemanaccessible.com>",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue