Create jekyll-docker.yml #2087
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Modified Packages | |
on: pull_request | |
jobs: | |
test: | |
name: Test Packages With Changed Files | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Checkout | |
run: | | |
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* | |
- name: Set up Node (10) | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 10.x | |
- name: install Chrome stable | |
run: | | |
sudo apt-get update | |
sudo apt-get install google-chrome-stable | |
- name: Test setup and yarn install | |
run: | | |
cp config/ci.config.json config/project.json | |
yarn | |
- name: yarn build | |
run: yarn build | |
- name: Run tests on changed packages | |
run: xvfb-run yarn test:changed | |
env: | |
FCM_TEST_PROJECT_SERVER_KEY: $${{secrets.FCM_TEST_PROJECT_SERVER_KEY}} |