chore(deps): update actions/checkout action to v4.1.6 #659
Workflow file for this run
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
on: | |
- push | |
- pull_request | |
env: | |
PNPM_VERSION: 8.10.5 | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2.4.0 | |
with: | |
version: ${{ env.PNPM_VERSION }} | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Run lint | |
run: pnpm lint | |
tests_e2e: | |
name: Run end-to-end tests | |
runs-on: ubuntu-latest | |
needs: [lint] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2.4.0 | |
with: | |
version: ${{ env.PNPM_VERSION }} | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Install playwright browsers | |
run: pnpm exec playwright install | |
- name: Run tests | |
run: pnpm test:ct | |
tests_unit: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
needs: [lint] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2.4.0 | |
with: | |
version: ${{ env.PNPM_VERSION }} | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Run unit tests | |
run: pnpm test:unit |