Skip to content

maybe fix?

maybe fix? #2

Workflow file for this run

name: Shipp it baby
on:
push:
branches:
- main
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Node 16
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Gimme node_modules Cache
working-directory: 'react-demo'
uses: actions/cache@v3

Check failure on line 23 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / Shipp it baby

Invalid workflow file

The workflow is not valid. .github/workflows/build.yaml (Line: 23, Col: 9): Unexpected value 'uses' .github/workflows/build.yaml (Line: 25, Col: 9): Unexpected value 'with'
id: gimme_cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
working-directory: 'react-demo'
if: steps.gimme_cache.outputs.cache-hit == false
run: npm install
- name: Build 🔧
working-directory: 'react-demo'
run: npm run build
- name: Deploy 🚀
working-directory: 'react-demo'
uses: JamesIves/github-pages-deploy-action@v4.3.0
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.