Skip to content

chore: Upgrades lockfile to version 3 #1117

chore: Upgrades lockfile to version 3

chore: Upgrades lockfile to version 3 #1117

Workflow file for this run

name: tests
on:
push:
branches:
- master
- release
- release-candidate
tags:
- v*
pull_request:
branches:
- master
- release
- release-candidate
jobs:
test:
runs-on: 'ubuntu-latest'
timeout-minutes: 40 # default is 360
strategy:
matrix:
node-version: [20.x]
steps:
# https://github.com/actions/checkout/releases/tag/v4.0.0
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
- name: Use Node.js ${{ matrix.node-version }}
# https://github.com/actions/setup-node/releases/tag/v3.8.1
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Install gettext
run: sudo apt-get install gettext
- name: Check version
run: make check_version
- name: Pot file
run: make check_pot
- name: Po file
run: make check_po
- name: i18n
run: make i18n
# Tests are currently disabled because of an incompatibility between React 18 and
# React-Scripts v4.
# See related PRs about this:
# https://github.com/HathorNetwork/hathor-wallet/pull/416
# https://github.com/HathorNetwork/hathor-wallet/pull/449
# https://github.com/HathorNetwork/hathor-wallet/pull/567
# - name: Unit tests
# run: npm run test -- --coverage
# - name: Upload coverage
# # https://github.com/codecov/codecov-action/releases/tag/v3.1.4
# uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d
- name: Start
run: npm start & npx wait-on http://localhost:3000
env:
CI: true