Merge pull request #22 from moufmouf/fix-ci

Fixing CI
This commit is contained in:
David Négrier
2020-04-04 16:08:31 +02:00
committed by GitHub
3 changed files with 7 additions and 3 deletions
+4 -2
View File
@@ -18,7 +18,7 @@ jobs:
uses: "actions/checkout@v2.0.0" uses: "actions/checkout@v2.0.0"
- name: "Setup NodeJS" - name: "Setup NodeJS"
- uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: '12.x' node-version: '12.x'
@@ -28,6 +28,8 @@ jobs:
- name: "Build" - name: "Build"
run: yarn run build run: yarn run build
env:
API_URL: "http://localhost:8080"
working-directory: "front" working-directory: "front"
continuous-integration-back: continuous-integration-back:
@@ -40,7 +42,7 @@ jobs:
uses: "actions/checkout@v2.0.0" uses: "actions/checkout@v2.0.0"
- name: "Setup NodeJS" - name: "Setup NodeJS"
- uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: '12.x' node-version: '12.x'
+2
View File
@@ -1,3 +1,5 @@
![](https://github.com/thecodingmachine/workadventure/workflows/Continuous%20Integration/badge.svg)
# Work Adventure # Work Adventure
## Work in progress ## Work in progress
+1 -1
View File
@@ -17,4 +17,4 @@ let game = new Phaser.Game(config);
window.addEventListener('resize', function (event) { window.addEventListener('resize', function (event) {
game.scale.resize(window.innerWidth / resolution, window.innerHeight / resolution); game.scale.resize(window.innerWidth / resolution, window.innerHeight / resolution);
} });