Skip to content

working directory change #4

working directory change

working directory change #4

name: Devcon Archive CI
on:
push:
paths:
- "lib/**"
- "devcon-archive/**"
- ".github/workflows/devcon-archive.yml"
pull_request:
paths:
- "lib/**"
- "devcon-archive/**"
- ".github/workflows/devcon-archive.yml"
jobs:
build:
working_directory: devcon-archive

Check failure on line 16 in .github/workflows/devcon-archive.yml

View workflow run for this annotation

GitHub Actions / Devcon Archive CI

Invalid workflow file

The workflow is not valid. .github/workflows/devcon-archive.yml (Line: 16, Col: 5): Unexpected value 'working_directory'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Create env file
run: |
touch .env
echo DB_CONNECTION_STRING='${{ secrets.DB_CONNECTION_STRING }}' >> .env
echo ELASTIC_ENDPOINT='${{ secrets.ELASTIC_ENDPOINT }}' >> .env
- name: Install dependencies
run: yarn
- name: Run Prettier // Format
run: yarn format
- name: Run Eslint // Lint
run: yarn lint
- name: Run Build
run: yarn build
- name: Serve build to test against
run: yarn serve &
- uses: microsoft/playwright-github-action@v1
- name: Run your tests
run: npm test
- uses: actions/upload-artifact@v2
with:
name: screenshots
path: screenshots