Skip to content

Commit

Permalink
Merge pull request #1340 from Lumieducation/master
Browse files Browse the repository at this point in the history
Release next version (v0.5.3)
  • Loading branch information
sr258 authored Mar 17, 2021
2 parents a3df280 + a6ddf32 commit bc61e45
Show file tree
Hide file tree
Showing 95 changed files with 27,460 additions and 2,570 deletions.
100 changes: 0 additions & 100 deletions .github/workflows/build.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/e2e.yml

This file was deleted.

23 changes: 16 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: Build + Tests

on:
push:
Expand All @@ -7,15 +7,14 @@ on:
pull_request:

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

steps:
- uses: actions/checkout@v2
- name: Use Node.js 10.x
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 14.x
- name: NPM Setup
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
env:
Expand All @@ -24,11 +23,21 @@ jobs:
run: npm ci && (cd client && npm ci) && (cd reporter-client && npm ci)
- name: lint
run: npm run lint
- name: build:server
- name: build
run: npm run build:server
- name: build:client
run: npm run build:client && npm run build:reporter-client
run: npm run build:client
- name: build:reporter-client
run: npm run build:reporter-client
- name: unit-tests
run: npm run test
env:
CI: true
- name: Install libgbm1 (Linux)
run: |
sudo apt-get update
sudo apt-get install xvfb libgbm1 libxss1 libnss3 libgtk-3-dev libasound2-dev unzip
- name: e2e-test
run: xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' npm run test:e2e
env:
CI: true
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx commitlint --edit $1
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run lint && npm run format:check
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run ci
Loading

0 comments on commit bc61e45

Please sign in to comment.