Merge pull request #144 from n-d-r-d-g/feature/meetup-img-carousel #151
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: Playwright CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 # Replace with the latest Node.js version | |
- name: Install dependencies | |
run: | | |
npm install -g pnpm | |
pnpm install --no-frozen-lockfile | |
- name: Install Browsers | |
run: pnpm exec playwright install | |
- name: Run Playwright tests | |
run: | | |
pnpm run astro test |