Skip to content

Commit

Permalink
corrected indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoisChabot committed Apr 21, 2021
1 parent 1bd0cbd commit 7d25003
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 16 deletions.
44 changes: 36 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- '.github/workflows/**'

jobs:
build:
checks:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -51,14 +51,48 @@ jobs:

- name: License check
run: pnpm run licenseCheck

# Source Tests
- name: Unit tests
env:
TEST: FULL
COVERAGE: 1
run: pnpm run test:full

# Save results
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js 15.x
uses: actions/setup-node@v2
with:
node-version: 15.x

- name: Cache pnpm modules
uses: actions/cache@v2
env:
cache-name: cache-pnpm-modules
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-build-${{ env.cache-name }}-15.x-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-15.x-
- name: Setup PNPM
uses: pnpm/action-setup@v2.0.0
with:
version: 6.0.2
run_install: |
- args: [--frozen-lockfile, --strict-peer-dependencies]
# Build
- name: Build
run: pnpm run build
Expand All @@ -67,12 +101,6 @@ jobs:
- name: Post-build repo check
run: git diff --exit-code

# Save results
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Archive Build
uses: actions/upload-artifact@v2
with:
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [published]

jobs:
checks:
checks:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -49,15 +49,8 @@ jobs:
- name: Unit tests
env:
TEST: FULL
COVERAGE: 1
run: pnpm run test:full

# Save results
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

build:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 7d25003

Please sign in to comment.