Skip to content

[Feat] add working directory to setup stage #3

[Feat] add working directory to setup stage

[Feat] add working directory to setup stage #3

Workflow file for this run

name: Pack
on:
push:
branches:
- main
jobs:
pack:
runs-on: ubuntu-latest
steps:
- name: Setup nodejs
uses: actions/setup-node@v4
working-directory: snap-client

Check failure on line 14 in .github/workflows/pack.yaml

View workflow run for this annotation

GitHub Actions / Pack

Invalid workflow file

The workflow is not valid. .github/workflows/pack.yaml (Line: 14, Col: 9): Unexpected value 'working-directory'
with:
node-version: 20
cache: npm
- name: Install deps
working-directory: snap-client
run: npm i
- name: Build package
working-directory: snap-client
run: npm run build
- name: Move into public folder
run: cp -r snap-client/build snap-server/public