Skip to content

chore(deps): bump ejs from 3.1.6 to 3.1.10 #2194

chore(deps): bump ejs from 3.1.6 to 3.1.10

chore(deps): bump ejs from 3.1.6 to 3.1.10 #2194

Workflow file for this run

name: Build
on: [pull_request]
jobs:
server:
name: Server
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Fetch Node Packages
run: |
yarn --immutable
- name: Build Messaging
run: |
yarn build
# Taken from: https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md#local-cache
docker:
name: Docker
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: false
tags: botpress/messaging:latest
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
- # Temp fix
# https://github.com/docker/build-push-action/issues/252
# https://github.com/moby/buildkit/issues/1896
name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
webchat:
name: Webchat
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/webchat
steps:
- name: Checkout code
uses: actions/checkout@master
- uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Fetch Node Packages
run: |
yarn --immutable
- name: Build Webchat
run: |
yarn build