Skip to content

Merge pull request #146 from ember-engines/deprecate-transition-methods #20

Merge pull request #146 from ember-engines/deprecate-transition-methods

Merge pull request #146 from ember-engines/deprecate-transition-methods #20

Workflow file for this run

name: Web App Deploy
on:
push:
branches:
- master
env:
NODE_VERSION: 14
jobs:
test-app:
name: Test app
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Check out a copy of the repo
uses: actions/checkout@v2
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Bootstrapping
run: yarn install
- name: Test
run: yarn test
deploy-app:
name: Deploy app
needs:
- test-app
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Check out a copy of the repo
uses: actions/checkout@v2
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Bootstrapping
run: yarn install
- name: Deploy to Github Pages
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
run: yarn deploy