Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
/ js-client Public archive

Commit

Permalink
Merge pull request #423 from gravwell/dev
Browse files Browse the repository at this point in the history
chore: Merge dev to main
  • Loading branch information
michael-wisely-gravwell authored Nov 7, 2023
2 parents 0df10d1 + 290a9bd commit ca3a016
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 32 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@ name: Deploy Docs to GitHub Pages
on:
push:
# Every push on dev will run this action
branches: [dev]
branches:
- dev

jobs:
build:
runs-on: ubuntu-latest
concurrency: ci-${{github.ref}}
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '16'

Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
# This workflow will run tests using node and then publish a package to NPM when a release is created
# This workflow will run tests using node and then publish a package to NPM when a release is released

name: Publish Package to NPM

on:
release:
types: [created]
types:
- released

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js 16.14.0
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '16.14.0'
registry-url: https://registry.npmjs.org/

- name: Use NPM 8.5.3
run: npm i -g [email protected]

Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/validate-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js 16.14.0
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '16.14.0'
- run: npm i -g [email protected]
Expand All @@ -22,9 +22,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js 16.14.0
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '16.14.0'
- run: npm i -g [email protected]
Expand All @@ -36,9 +36,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js 16.14.0
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '16.14.0'
- run: npm i -g [email protected]
Expand All @@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build image for Backend Alpha
run: docker build -t gravwell-alpha .config/test-config/test-backend-alpha/
- shell: bash
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
sleep 10
curl --silent --fail http://localhost:8080/api/test || ( echo "api test failed"; exit 1 )
- name: Use Node.js 16.14.0
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '16.14.0'
- run: npm i -g [email protected]
Expand All @@ -118,7 +118,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build image for Backend Alpha
run: docker build -t gravwell-alpha .config/test-config/test-backend-alpha/
- shell: bash
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
sleep 10
curl --silent --fail http://localhost:8080/api/test || ( echo "api test failed"; exit 1 )
- name: Use Node.js 16.14.0
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '16.14.0'
- run: npm i -g [email protected]
Expand All @@ -186,7 +186,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build image for Backend Alpha
run: docker build -t gravwell-alpha .config/test-config/test-backend-alpha/
- shell: bash
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:
sleep 10
curl --silent --fail http://localhost:8080/api/test || ( echo "api test failed"; exit 1 )
- name: Use Node.js 16.14.0
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '16.14.0'
- run: npm i -g [email protected]
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/validate-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js 16.14.0
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '16.14.0'
- run: npm i -g [email protected]
Expand All @@ -22,9 +22,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js 16.14.0
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '16.14.0'
- run: npm i -g [email protected]
Expand All @@ -36,9 +36,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js 16.14.0
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '16.14.0'
- run: npm i -g [email protected]
Expand All @@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build image for Backend Beta
run: docker build -t gravwell-beta .config/test-config/test-backend-beta/
- shell: bash
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
sleep 10
curl --silent --fail http://localhost:8080/api/test || ( echo "api test failed"; exit 1 )
- name: Use Node.js 16.14.0
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '16.14.0'
- run: npm i -g [email protected]
Expand All @@ -118,7 +118,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build image for Backend Beta
run: docker build -t gravwell-beta .config/test-config/test-backend-beta/
- shell: bash
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
sleep 10
curl --silent --fail http://localhost:8080/api/test || ( echo "api test failed"; exit 1 )
- name: Use Node.js 16.14.0
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '16.14.0'
- run: npm i -g [email protected]
Expand All @@ -186,7 +186,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build image for Backend Beta
run: docker build -t gravwell-beta .config/test-config/test-backend-beta/
- shell: bash
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:
sleep 10
curl --silent --fail http://localhost:8080/api/test || ( echo "api test failed"; exit 1 )
- name: Use Node.js 16.14.0
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '16.14.0'
- run: npm i -g [email protected]
Expand Down

0 comments on commit ca3a016

Please sign in to comment.