Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
use c8
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmattgray committed Aug 29, 2023
1 parent 6399345 commit 91c569e
Show file tree
Hide file tree
Showing 8 changed files with 2,616 additions and 1,681 deletions.
File renamed without changes.
15 changes: 4 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,18 +122,11 @@ jobs:

steps:
- uses: actions/checkout@v3
- run: git fetch --depth=1 --tags origin
- name: Install yq
run: sudo snap install yq
- name: Check Build Version
- name: Check version
id: get_version
run: ./scripts/check-version.sh
shell: bash
- name: Skipping release as version has not increased
if: steps.get_version.outputs.IS_NEW_VERSION != 'true'
shell: bash
run: |
echo "Skipping release as current version has already been published"
uses: digicatapult/check-version@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

publish:
name: 'Publish package'
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,8 @@ jobs:

steps:
- uses: actions/checkout@v3
- run: git fetch --depth=1 --tags origin
- name: Install yq
run: sudo snap install yq
- name: Check Build Version
- name: Check version
id: get_version
run: ./scripts/check-version.sh
shell: bash
- name: Error if version is not increased
shell: bash
run: |
exit $([[ "${{steps.get_version.outputs.IS_NEW_VERSION}}" = "true" ]] && echo 0 || echo 1)
uses: digicatapult/check-version@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ node_modules/

# Test coverage
coverage
.nyc_output
coverage.json

# Logs
Expand All @@ -19,8 +18,6 @@ npm-debug.log*
!.vscode/extensions.json
.idea/

helm/**/*.tgz

# Misc
.DS_Store
.env
Expand Down
7 changes: 3 additions & 4 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
ipfs:
image: ipfs/go-ipfs:v0.19.0
image: ipfs/go-ipfs:v0.22.0
environment:
- |
IPFS_SWARM_KEY=/key/swarm/psk/1.0.0/
Expand All @@ -12,7 +12,7 @@ services:
- 8080:8080
- 5001:5001
ipfs-2:
image: ipfs/go-ipfs:v0.19.0
image: ipfs/go-ipfs:v0.22.0
environment:
- |
IPFS_SWARM_KEY=/key/swarm/psk/1.0.0/
Expand All @@ -24,8 +24,7 @@ services:
- 5002:5001
dscp-node:
image: digicatapult/dscp-node:latest
command:
--base-path /data/
command: --base-path /data/
--dev
--unsafe-ws-external
--unsafe-rpc-external
Expand Down
Loading

0 comments on commit 91c569e

Please sign in to comment.