ci: format .yml with prettier

This commit is contained in:
link2xt
2023-02-20 11:48:57 +00:00
parent e2151e26ee
commit 0dd87b0bae
9 changed files with 147 additions and 154 deletions

View File

@@ -123,7 +123,7 @@ jobs:
if: ${{ matrix.python }} if: ${{ matrix.python }}
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: 'pypy${{ matrix.python }}' python-version: "pypy${{ matrix.python }}"
- name: Run pypy tests - name: Run pypy tests
if: ${{ matrix.python }} if: ${{ matrix.python }}

View File

@@ -1,15 +1,14 @@
name: 'jsonrpc js client build' name: "jsonrpc js client build"
on: on:
pull_request: pull_request:
push: push:
tags: tags:
- '*' - "*"
- '!py-*' - "!py-*"
jobs: jobs:
pack-module: pack-module:
name: 'Package @deltachat/jsonrpc-client and upload to download.delta.chat' name: "Package @deltachat/jsonrpc-client and upload to download.delta.chat"
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- name: Install tree - name: Install tree
@@ -18,7 +17,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: '16' node-version: "16"
- name: Get tag - name: Get tag
id: tag id: tag
uses: dawidd6/action-get-tag@v1 uses: dawidd6/action-get-tag@v1

View File

@@ -7,7 +7,6 @@ on:
jobs: jobs:
delete: delete:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View File

@@ -1,11 +1,10 @@
name: 'node.js build' name: "node.js build"
on: on:
pull_request: pull_request:
push: push:
tags: tags:
- '*' - "*"
- '!py-*' - "!py-*"
jobs: jobs:
prebuild: prebuild:
@@ -19,7 +18,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: '16' node-version: "16"
- name: System info - name: System info
run: | run: |
rustc -vV rustc -vV
@@ -74,7 +73,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '16' node-version: "16"
- name: Get tag - name: Get tag
id: tag id: tag
uses: dawidd6/action-get-tag@v1 uses: dawidd6/action-get-tag@v1

View File

@@ -1,4 +1,4 @@
name: 'node.js tests' name: "node.js tests"
on: on:
pull_request: pull_request:
push: push:
@@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: '16' node-version: "16"
- name: System info - name: System info
run: | run: |
rustc -vV rustc -vV
@@ -59,7 +59,7 @@ jobs:
npm run test npm run test
env: env:
DCC_NEW_TMP_EMAIL: ${{ secrets.DCC_NEW_TMP_EMAIL }} DCC_NEW_TMP_EMAIL: ${{ secrets.DCC_NEW_TMP_EMAIL }}
NODE_OPTIONS: '--force-node-api-uncaught-exceptions-policy=true' NODE_OPTIONS: "--force-node-api-uncaught-exceptions-policy=true"
- name: Run tests on Windows, except lint - name: Run tests on Windows, except lint
timeout-minutes: 10 timeout-minutes: 10
if: runner.os == 'Windows' if: runner.os == 'Windows'
@@ -68,4 +68,4 @@ jobs:
npm run test:mocha npm run test:mocha
env: env:
DCC_NEW_TMP_EMAIL: ${{ secrets.DCC_NEW_TMP_EMAIL }} DCC_NEW_TMP_EMAIL: ${{ secrets.DCC_NEW_TMP_EMAIL }}
NODE_OPTIONS: '--force-node-api-uncaught-exceptions-policy=true' NODE_OPTIONS: "--force-node-api-uncaught-exceptions-policy=true"

View File

@@ -20,4 +20,4 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: repl.exe name: repl.exe
path: 'target/debug/deltachat-repl.exe' path: "target/debug/deltachat-repl.exe"

View File

@@ -8,7 +8,6 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -24,4 +23,3 @@ jobs:
HOST: "delta.chat" HOST: "delta.chat"
SOURCE: "target/doc" SOURCE: "target/doc"
TARGET: "/var/www/html/rs/" TARGET: "/var/www/html/rs/"

View File

@@ -8,7 +8,6 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -24,4 +23,3 @@ jobs:
HOST: "delta.chat" HOST: "delta.chat"
SOURCE: "target/doc" SOURCE: "target/doc"
TARGET: "/var/www/html/cffi/" TARGET: "/var/www/html/cffi/"