This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #423 from gravwell/dev
chore: Merge dev to main
- Loading branch information
Showing
4 changed files
with
34 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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] | ||
|
@@ -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] | ||
|
@@ -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 | ||
|
@@ -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] | ||
|
@@ -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 | ||
|
@@ -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] | ||
|
@@ -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 | ||
|
@@ -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] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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] | ||
|
@@ -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] | ||
|
@@ -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 | ||
|
@@ -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] | ||
|
@@ -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 | ||
|
@@ -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] | ||
|
@@ -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 | ||
|
@@ -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] | ||
|