Skip to content

Commit

Permalink
chore: merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Cafe137 committed Sep 16, 2024
2 parents a5f57b2 + 87af52c commit fc1b43e
Show file tree
Hide file tree
Showing 22 changed files with 211 additions and 7,961 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,3 @@ jobs:

- name: Build nodejs code
run: npm run build

- name: Check and update the supported Bee version
uses: ethersphere/update-supported-bee-action@v1
if: github.ref == 'refs/heads/master'
with:
token: ${{ secrets.GHA_PAT_BASIC }}
21 changes: 6 additions & 15 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [18.x]

steps:
- name: Checkout
Expand All @@ -44,21 +44,12 @@ jobs:
restore-keys: |
${{ runner.OS }}-node-${{ matrix.node }}-${{ env.cache-name }}-
${{ runner.OS }}-node-${{ matrix.node }}-
- name: Install npm deps
if: steps.cache-npm.outputs.cache-hit != 'true'
run: npm ci
# Start Bee Factory environment
- name: Start Bee Factory environment
if: matrix.node-version != '18.x' && matrix.node-version != '19.x'
run: npm run bee -- --verbose --detach
- name: Install npm deps
run: npm install -g npm && npm ci && npm install -g @fairdatasociety/fdp-play

# Start Bee Factory environment for Node 18 and 19
- name: Start Bee Factory environment for Node 18 and 19
if: matrix.node-version == '18.x' || matrix.node-version == '19.x'
env:
NODE_OPTIONS: '--no-experimental-fetch'
run: npm run bee -- --verbose --detach
- name: Start fdp-play environment
run: npm run bee

- name: Run node tests
- name: Tests
run: npm run test
22 changes: 0 additions & 22 deletions .github/workflows/configs_sync.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export default async (): Promise<Config.InitialOptions> => {
process.env.WORKER_PSS_ADDRESS = await getPssAddress('http://localhost:11633')
}

if (!process.env.STAMP) {
process.env.STAMP = await getOrBuyStamp()
if (!process.env.TEST_STAMP) {
process.env.TEST_STAMP = await getOrBuyStamp()
}

return {
Expand Down
Loading

0 comments on commit fc1b43e

Please sign in to comment.