Skip to content

cli/rm command dir

cli/rm command dir #6

Workflow file for this run

name: CLI
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
jobs:
cli:
name: CLI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: ⬢ Enable Corepack
run: |
corepack enable
corepack prepare yarn@stable --activate
- name: ⬢ Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- 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: Set up git
run: |
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
- name: 🌲 CRWA
run: |
pwd
cd ../
pwd
yarn create redwood-app redwood-app
pwd
cd redwood-app
pwd
yarn
pwd
echo "PROJECT_PATH=$(realpath ../redwood-app)" >> $GITHUB_ENV
- name: 📦 Add framework packages
run: |
yarn node ./tasks/cli-e2e/sync.mjs $PROJECT_PATH
- name: 🧪 Test
run: |
PROJECT_PATH=$PROJECT_PATH yarn node --experimental-vm-modules $(yarn bin jest)
working-directory: ./tasks/cli-e2e