Compare commits

...

4 commits
v1.0.0 ... main

Author SHA1 Message Date
Alan Bridgeman
adc9ce9ba9 Bumping version to attempt to trigger automation (which will hopefully work this time)
All checks were successful
Publish to private NPM registry / publish (push) Successful in 33s
2025-06-11 13:32:10 -05:00
Alan Bridgeman
48db1bb21b More automation work
Some checks failed
Publish to private NPM registry / publish (push) Failing after 26s
2025-06-11 13:20:01 -05:00
Alan Bridgeman
911b689db6 Made changes mostly to automation to try to get it to work
Some checks failed
Publish to private NPM registry / publish (push) Failing after 1m26s
2025-06-11 13:03:48 -05:00
Alan Bridgeman
e89b358067 Super small superflous changes mostly to re-trigger the automation
Some checks failed
Publish to private NPM registry / publish (push) Failing after 8s
2025-06-11 12:57:02 -05:00
2 changed files with 46 additions and 4 deletions

View file

@ -16,7 +16,7 @@ permissions:
jobs: jobs:
# Publishes the package to the private NPM registry # Publishes the package to the private NPM registry
publish: publish:
runs-on: self-hosted runs-on: default
outputs: outputs:
build_and_deploy: ${{ steps.version_check.outputs.build_and_deploy }} build_and_deploy: ${{ steps.version_check.outputs.build_and_deploy }}
steps: steps:
@ -24,6 +24,48 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
# Set up Node.js
- name: Set up Node.js version
uses: actions/setup-node@v3
with:
# Taken from [Repo README](https://github.com/actions/setup-node#readme)
#
# > Version Spec of the version to use in SemVer notation.
# > It also admits such aliases as lts/*, latest, nightly and canary builds
# > Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node
node-version: 'latest'
# Taken from [Repo README](https://github.com/actions/setup-node#readme)
#
# > Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file,
# > and set up auth to read in from env.NODE_AUTH_TOKEN.
# > Default: ''
registry-url: 'https://npm.pkg.bridgemanaccessible.ca'
# Taken from [Repo README](https://github.com/actions/setup-node#readme)
#
# > Optional scope for authenticating against scoped registries.
# > Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/).
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

View file

@ -1,9 +1,9 @@
{ {
"name": "@BridgemanAccessible/listmonk-node-client", "name": "@BridgemanAccessible/listmonk-node-client",
"version": "1.0.1", "version": "1.0.4",
"description": "A Node client library for Listmonk", "description": "A Node client library for Listmonk",
"repository": "https://github.com/AlanBridgeman/listmonk-nodejs-client.git", "repository": "https://git.bridgemanaccessible.ca/Bridgeman-Accessible/listmonk-nodejs-client.git",
"author": "Alan Bridgeman<alan@alanbridgeman.ca>", "author": "Bridgeman Accessible<info@bridgemanaccessible.com>",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"demo": "yarn build && node dist/demo.js", "demo": "yarn build && node dist/demo.js",