Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
18ba5ca
Create node.yml
haikyuu Sep 7, 2021
4e153b1
add package-lock.json
haikyuu Sep 7, 2021
f52f136
use edgedb similar workflow
haikyuu Sep 7, 2021
ba14b6c
remove nightly tests
haikyuu Sep 7, 2021
298ae2d
fix build command
haikyuu Sep 7, 2021
7b65a76
initialize database
haikyuu Sep 7, 2021
a10772e
remove eol from toml
haikyuu Sep 7, 2021
193c54f
run in non interactive mode
haikyuu Sep 7, 2021
da942d5
Merge branch 'main' into setup-ci
haikyuu Sep 7, 2021
51e1703
fix db create pool option + attempt ci fix
haikyuu Sep 7, 2021
7e9a89b
add migrations step
haikyuu Sep 7, 2021
a30a080
remove macos tests
haikyuu Sep 7, 2021
c399107
fix yml file
haikyuu Sep 7, 2021
6f486a3
move env to job
haikyuu Sep 7, 2021
6722383
fix again
haikyuu Sep 7, 2021
e268012
actually fix ci
haikyuu Sep 7, 2021
1485972
again
haikyuu Sep 7, 2021
34f0d07
revert to last working ci
haikyuu Sep 7, 2021
b47c8f7
...
haikyuu Sep 7, 2021
9319307
add env variable
haikyuu Sep 7, 2021
fb089b2
fix env var
haikyuu Sep 7, 2021
38b1786
change run state dir
haikyuu Sep 7, 2021
985fefe
..
haikyuu Sep 7, 2021
8c321c2
e
haikyuu Sep 7, 2021
0728240
add -p to mkdir
haikyuu Sep 7, 2021
ed146ba
remove macos
haikyuu Sep 7, 2021
a2294c6
change edgedb version
haikyuu Sep 7, 2021
4982039
merge all runs together
haikyuu Sep 7, 2021
5fb5ecc
back to stable
haikyuu Sep 7, 2021
286d8a1
actually implement dropdown positioning
haikyuu Sep 8, 2021
8ee2525
use pnpm
haikyuu Sep 8, 2021
a42b4a2
split deps install
haikyuu Sep 8, 2021
16ce810
add transitions for dropdown
haikyuu Sep 11, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: ["14"]
os: [ubuntu-latest]
edgedb-version: ["stable"]

# include:
# - os: macos-latest
# node-version: "14"
# edgedb-version: "stable"

steps:
- uses: actions/checkout@v1
with:
fetch-depth: 50

- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Cache .pnpm-store
uses: actions/cache@v1
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}

- name: Install pnpm
run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@6

- name: Install EdgeDB
uses: edgedb/setup-edgedb@v1
with:
server-version: ${{ matrix.edgedb-version }}
- name: create run state dir
run: |
mkdir -p /home/runner/.local/ed

- name: Install deps
env:
XDG_RUNTIME_DIR: /home/runner/.local/ed
run: |
pnpm install

- name: Setup Edgedb
env:
XDG_RUNTIME_DIR: /home/runner/.local/ed
run: |
edgedb project init --non-interactive
npm run test:migrate
npm run build
npm run test
# - name: Run migrations
# run: npm run test:migrate

# - name: Build the project
# run: |
# npm run build
# - name: Run Tests
# run: |
# npm run test
2 changes: 1 addition & 1 deletion edgedb.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[edgedb]
server-version = "1-beta3"
server-version = "1-beta3"
Loading