Skip to content

Remove magda scripts and replace with @magda/docker-utils and @magda/… #12

Remove magda scripts and replace with @magda/docker-utils and @magda/…

Remove magda scripts and replace with @magda/docker-utils and @magda/… #12

Workflow file for this run

name: Main CI Workflow
on: push
env:
REPO_NAME: magda-configmap-dir-loader
jobs:
build-test-docker:
name: Build, Test & Push to Docker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn install
- run: yarn build
- run: yarn test
- name: Login to GitHub Package Repository
env:
GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
run: docker login docker.pkg.github.com -u magdabot -p ${GH_TOKEN}
- name: Build Docker Image & Push
run: yarn docker-build-prod --repository=docker.pkg.github.com/magda-io/${REPO_NAME} --name=${REPO_NAME} --version=${GITHUB_SHA}
build-test-node-14:
name: Build, Test Only with Node 14
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v1
with:
node-version: 14
- run: yarn install
- run: yarn build
- run: yarn test