chore(deps): update test & linting packages #4671
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Local E2E Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
local-e2e: | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
node: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: "cli" | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Prepare CLI | |
run: yarn --cwd cli install --frozen-lockfile | |
- name: Use latest global yarn version | |
run: | | |
cd ~ | |
yarn set version berry | |
- name: Setting up Ghost instance | |
run: node ./cli/bin/ghost install local -d ghost | |
- name: Verifying Installation | |
run: sleep 2 && curl -f http://localhost:2368 | grep ghost |