Update action.yml

This commit is contained in:
Philip Korsholm authored and GitHub committed 2021-10-21 14:11:54 +02:00
1 parent 0993e18481
commit 40d7cb2109
1 file changed
+12 -10
+12 -10
View File
@@ -3,8 +3,8 @@ on: [push, pull_request]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.5
with:
@@ -13,11 +13,11 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v2.4.1
with:
node-version: "14"
cache: "yarn"
node-version: '14'
cache: 'yarn'
- name: Assert changed
run: ./scripts/assert-changed-files-actions.sh "packages/*|(e2e|integration)-tests/*|yarn.lock"
run: ./scripts/assert-changed-files.sh "packages"
- name: Bootstrap packages
uses: ./.github/actions/cache-bootstrap
@@ -29,9 +29,9 @@ jobs:
run: node --max-old-space-size=2048 ./node_modules/.bin/jest -w 1
integration-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-latest
services:
services:
postgres:
image: postgres
env:
@@ -45,7 +45,7 @@ jobs:
ports:
- 5432:5432
steps:
steps:
- name: Checkout
uses: actions/checkout@v2.3.5
with:
@@ -54,8 +54,8 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v2.4.1
with:
node-version: "14"
cache: "yarn"
node-version: '14'
cache: 'yarn'
- name: Bootstrap packages
uses: ./.github/actions/cache-bootstrap
@@ -81,3 +81,5 @@ jobs:
working-directory: integration-tests/api
env:
DB_PASSWORD: postgres