Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xusd320 committed Jul 16, 2024
1 parent 7eba784 commit a7502c8
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ name: CI
env:
DEBUG: napi:*
APP_NAME: niddle
MACOSX_DEPLOYMENT_TARGET: "10.13"
MACOSX_DEPLOYMENT_TARGET: '10.13'
permissions:
contents: write
id-token: write
"on":
'on':
push:
branches:
- main
tags-ignore:
- "**"
- '**'
paths-ignore:
- "**/*.md"
- '**/*.md'
- LICENSE
- "**/*.gitignore"
- '**/*.gitignore'
- .editorconfig
- docs/**
pull_request: null
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
if: ${{ matrix.settings.docker }}
with:
image: ${{ matrix.settings.docker }}
options: "--user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build"
options: '--user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build'
run: ${{ matrix.settings.build }}
- name: Build
run: ${{ matrix.settings.build }}
Expand All @@ -159,7 +159,7 @@ jobs:
RUSTUP_IO_THREADS: 1
with:
operating_system: freebsd
version: "14.0"
version: '14.0'
memory: 8G
cpu_count: 3
environment_variables: DEBUG RUSTUP_IO_THREADS
Expand Down Expand Up @@ -206,8 +206,8 @@ jobs:
- host: windows-latest
target: x86_64-pc-windows-msvc
node:
- "18"
- "20"
- '18'
- '20'
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -237,8 +237,8 @@ jobs:
fail-fast: false
matrix:
node:
- "18"
- "20"
- '18'
- '20'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -267,8 +267,8 @@ jobs:
fail-fast: false
matrix:
node:
- "18"
- "20"
- '18'
- '20'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -299,8 +299,8 @@ jobs:
fail-fast: false
matrix:
node:
- "18"
- "20"
- '18'
- '20'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -326,7 +326,7 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: node:${{ matrix.node }}-slim
options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build"
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
run: |
set -e
yarn test
Expand Down Expand Up @@ -360,7 +360,7 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: node:lts-alpine
options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build"
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
run: |
set -e
yarn test
Expand All @@ -372,8 +372,8 @@ jobs:
fail-fast: false
matrix:
node:
- "18"
- "20"
- '18'
- '20'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -398,7 +398,7 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: node:${{ matrix.node }}-bullseye-slim
options: "--platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build"
options: '--platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build'
run: |
set -e
yarn test
Expand Down

0 comments on commit a7502c8

Please sign in to comment.