Skip to content

esm for crwa wip

esm for crwa wip #8

Workflow file for this run

name: 🌲 CRWA
on:
pull_request:
push:
branches: ['next', 'release/**']
# Cancel in-progress runs of this workflow.
# See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
jobs:
crwa:

Check failure on line 18 in .github/workflows/crwa.yml

View workflow run for this annotation

GitHub Actions / 🌲 CRWA

Invalid workflow file

The workflow is not valid. .github/workflows/crwa.yml (Line: 18, Col: 3): The workflow must contain at least one job with no dependencies.
needs: check
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
name: 🌲 CRWA
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: β¬’ Enable Corepack
run: corepack enable
- name: β¬’ Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: β¬’ Enable Corepack
run: corepack enable
- name: 🐈 Set up yarn cache
uses: ./.github/actions/set-up-yarn-cache
- name: 🐈 Yarn install
run: yarn install --inline-builds
env:
GITHUB_TOKEN: ${{ github.token }}
- name: πŸ—οΈ Build
run: yarn build
- name: πŸ—οΈ Build pack
run: yarn build:pack
working-directory: ./packages/create-redwood-app
- name: πŸ—οΈ Set up test project
run: |
PROJECT_PATH=$(yarn set-up-test-project)
echo "PROJECT_PATH=$PROJECT_PATH >> $GITHUB_ENV"
working-directory: ./packages/create-redwood-app
- name: 🌲 CRWA
run: yarn test e2e
working-directory: ./packages/create-redwood-app
env:
PROJECT_PATH: ${{ env.PROJECT_PATH }}