Skip to content

Commit 3b65f6a

Browse files
committed
workflow
1 parent ae255f4 commit 3b65f6a

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

.github/workflows/run-tests.yaml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,26 @@ jobs:
2828
--health-retries 5
2929
3030
steps:
31-
# Downloads a copy of the code in your repository before running CI tests
32-
- name: Check out repository code
31+
- name: checkout
3332
uses: actions/checkout@v3
3433

35-
# Performs a clean installation of all dependencies in the `package.json` file
36-
# For more information, see https://docs.npmjs.com/cli/ci.html
37-
- name: Install dependencies
38-
run: npm ci
34+
- name: node
35+
uses: actions/setup-node@v3
36+
with:
37+
node-version: 16.14.0
3938

40-
- name: Connect to PostgreSQL
41-
# Runs a script that creates a PostgreSQL table, populates
42-
# the table with data, and then retrieves the data.
43-
run: node client.js
44-
# Environment variables used by the `client.js` script to create a new PostgreSQL table.
39+
- name: deps
40+
run: yarn
41+
42+
- name: bootstrap
43+
run: yarn bootstrap
44+
45+
- name: build
46+
run: yarn build
47+
48+
- name: ast
49+
run: cd ./packages/ast && yarn test
4550
env:
46-
# The hostname used to communicate with the PostgreSQL service container
47-
POSTGRES_HOST: postgres
48-
# The default PostgreSQL port
51+
POSTGRES_USER: postgres
52+
POSTGRES_PASSWORD: password
4953
POSTGRES_PORT: 5432

0 commit comments

Comments
 (0)