deps: bump undici from 7.1.1 to 7.2.0 #1868
Workflow file for this run
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
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
node: ['18', '20', '21', '22'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm ci --omit=dev | |
- run: npm ci | |
- run: npm run test:types | |
- run: npm run test:lint | |
if: matrix.os != 'windows-latest' | |
- run: npm run test:unit | |
test-locales: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
lang: | |
- en_GB.UTF-8 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- run: npm ci | |
- run: npm run test:unit | |
env: | |
LANG: ${{ matrix.lang }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
docker: | |
name: Build and test Docker | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
env: | |
REGISTRY: ghcr.io | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/login-action@v3 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: "arm64" | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build and load Docker image | |
id: docker_build | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
load: true | |
tags: core-test | |
cache-from: type=registry,ref=ghcr.io/filecoin-station/core | |
cache-to: type=inline | |
- name: Build Docker image for other platforms | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
platforms: linux/arm64 | |
cache-from: type=registry,ref=ghcr.io/filecoin-station/core | |
cache-to: type=inline | |
- name: Start Station Core container with PASSPHRASE | |
run: | | |
docker run \ | |
--name station \ | |
--detach \ | |
--env FIL_WALLET_ADDRESS=0x000000000000000000000000000000000000dEaD \ | |
--env PASSPHRASE=secret \ | |
$IMAGEID | |
env: | |
IMAGEID: ${{ steps.docker_build.outputs.imageid }} | |
- name: Print station activity | |
run: | | |
sleep 10 # Wait for Station modules to start | |
docker logs station | |
- name: Check | Spark started | |
run: docker logs station | grep "Spark started" | |
- name: Start Station Core container without PASSPHRASE | |
run: | | |
docker run \ | |
--name station_unsecure \ | |
--detach \ | |
--env FIL_WALLET_ADDRESS=0x000000000000000000000000000000000000dEaD \ | |
$IMAGEID | |
env: | |
IMAGEID: ${{ steps.docker_build.outputs.imageid }} | |
- name: Print station activity | |
run: | | |
sleep 10 # Wait for Station modules to start | |
docker logs station_unsecure | |
- name: Check | Spark started | |
run: docker logs station_unsecure | grep "Spark started" |