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: jobs:
unit-tests: unit-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2.3.5 uses: actions/checkout@v2.3.5
with: with:
@@ -13,11 +13,11 @@ jobs:
- name: Setup Node.js environment - name: Setup Node.js environment
uses: actions/setup-node@v2.4.1 uses: actions/setup-node@v2.4.1
with: with:
node-version: "14" node-version: '14'
cache: "yarn" cache: 'yarn'
- name: Assert changed - 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 - name: Bootstrap packages
uses: ./.github/actions/cache-bootstrap uses: ./.github/actions/cache-bootstrap
@@ -29,9 +29,9 @@ jobs:
run: node --max-old-space-size=2048 ./node_modules/.bin/jest -w 1 run: node --max-old-space-size=2048 ./node_modules/.bin/jest -w 1
integration-tests: integration-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
services: services:
postgres: postgres:
image: postgres image: postgres
env: env:
@@ -45,7 +45,7 @@ jobs:
ports: ports:
- 5432:5432 - 5432:5432
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2.3.5 uses: actions/checkout@v2.3.5
with: with:
@@ -54,8 +54,8 @@ jobs:
- name: Setup Node.js environment - name: Setup Node.js environment
uses: actions/setup-node@v2.4.1 uses: actions/setup-node@v2.4.1
with: with:
node-version: "14" node-version: '14'
cache: "yarn" cache: 'yarn'
- name: Bootstrap packages - name: Bootstrap packages
uses: ./.github/actions/cache-bootstrap uses: ./.github/actions/cache-bootstrap
@@ -81,3 +81,5 @@ jobs:
working-directory: integration-tests/api working-directory: integration-tests/api
env: env:
DB_PASSWORD: postgres DB_PASSWORD: postgres