Skip to content

Update babel monorepo #398

Update babel monorepo

Update babel monorepo #398

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '12.x'
env:
RUNNER_TEMP: /tmp
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install && npm -g install jest
- name: Test server
working-directory: ./packages/entourage-server
run: npm run test
# - name: Test CLI
# run: cd packages/entourage-cli/ && npm run test
- name: Publish to Registry
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master'
uses: elgohr/Publish-Docker-Github-Action@b82ad077c06f24a94fc90a2627e0e11d9f55a49f
with:
name: chriskalmar/entourage
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
workdir: packages/entourage-server/
tag_names: true
buildoptions: '--compress --force-rm'