Skip to content

Merge pull request #459 from SSWConsulting/dependabot/npm_and_yarn/mi… #396

Merge pull request #459 from SSWConsulting/dependabot/npm_and_yarn/mi…

Merge pull request #459 from SSWConsulting/dependabot/npm_and_yarn/mi… #396

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [main]
# A workflow run is made up of one or more jobsjj that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- name: Get current build time
uses: gerred/actions/current-time@master
id: current-time
- name: Use current build time
env:
TIME: "${{ steps.current-time.outputs.time }}"
run: echo $TIME
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Run a multi-line script
env:
FIREBASETOKEN: ${{ secrets.FIREBASETOKEN }}
run: |
cd ui
npm i
npm run deploy
cd ../api/functions
npm i
npm run deploy
cd ../../docker
docker build -t sswconsulting/codeauditor .
docker login --username tombui99 --password ${{ secrets.DOCKER_PASSWORD }}
docker push sswconsulting/codeauditor