Skip to content

Change way of setting directory #2

Change way of setting directory

Change way of setting directory #2

Workflow file for this run

name: Lint and Test
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
working-directory: ./task

Check failure on line 8 in .github/workflows/lint-test.yml

View workflow run for this annotation

GitHub Actions / Lint and Test

Invalid workflow file

The workflow is not valid. .github/workflows/lint-test.yml (Line: 8, Col: 5): Unexpected value 'working-directory'
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install
run: yarn install
- name: Lint
run: yarn lint
- name: Test
run: yarn test