From 4dc5cf516c605438c1a025256a8f717ee5d9cef4 Mon Sep 17 00:00:00 2001 From: Ihor Dvoretskyi Date: Thu, 14 Jan 2021 15:53:05 +0200 Subject: [PATCH] Formatting fixes Signed-off-by: Ihor Dvoretskyi --- .github/workflows/fossa.yml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index c018bc2deb..ae01683b3c 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -1,13 +1,12 @@ name: FOSSA on: push: - branches: [ master ] + branches: [master] pull_request: - branches: [ master ] + branches: [master] jobs: build: - runs-on: ubuntu-latest strategy: @@ -15,19 +14,19 @@ jobs: node-version: [10.x, 12.x, 14.x, 15.x] steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: npm ci - - run: npm run build --if-present - - run: npm test - # Runs a set of commands to initialize and analyze with FOSSA + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm run build --if-present + - run: npm test + # Runs a set of commands to initialize and analyze with FOSSA - name: run FOSSA analysis env: - # FOSSA Push-Only API Token - FOSSA_API_KEY: '9ee7e8893660832a7387dcc32377fb61' + # FOSSA Push-Only API Token + FOSSA_API_KEY: '9ee7e8893660832a7387dcc32377fb61' run: | curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash fossa init