Bump is-string from 1.0.7 to 1.1.0 (#35) #98
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: Test | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@v4 | |
- name: Set up NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: | | |
npm ci | |
npx playwright install --with-deps | |
- name: Run tests | |
env: | |
API_KEY: ${{ secrets.API_KEY }} | |
REACT_APP_LOCAL: "yes" | |
run: npm run test | |
- name: Show failed screenshots | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: playwright-screenshots | |
path: test-results | |
- name: Show failed report | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: playwright-report | |
path: playright-report | |
- name: Test ESLint | |
run: npx eslint |