chore(deps): bump prettier from 2.8.8 to 3.1.1 #463
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
--- | |
name: Tests | |
on: # yamllint disable-line rule:truthy | |
push: | |
paths-ignore: | |
- "*.md" | |
- ".github/dependabot.yaml" | |
- ".editorconfig" | |
- ".eslintignore" | |
- ".eslintrc.yaml" | |
- ".gitignore" | |
- ".markdownlint.yaml" | |
- ".prettierrc.yaml" | |
- "LICENSE" | |
- ".yamllint.yaml" | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- "*.md" | |
- ".github/dependabot.yaml" | |
- ".editorconfig" | |
- ".eslintignore" | |
- ".eslintrc.yaml" | |
- ".gitignore" | |
- ".markdownlint.yaml" | |
- ".prettierrc.yaml" | |
- "LICENSE" | |
- ".yamllint.yaml" | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
browser: [Chrome, Opera] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ">=21.2.0" | |
- name: Install | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Security Audit | |
run: npm audit | |
- name: Test | |
run: | | |
if [ "${{ matrix.browser }}" = "Chrome" ]; then | |
echo "Testing on Chrome browser" | |
npm t | |
else | |
echo "Testing on Opera browser" | |
sudo sh -c 'echo "deb http://deb.opera.com/opera/ stable non-free" >> /etc/apt/sources.list.d/opera.list' | |
sudo sh -c 'wget -O - http://deb.opera.com/archive.key | apt-key add -' | |
sudo apt-get update -y | |
sudo apt-get install opera-stable -y | |
export VITE_BROWSER_PATH=/usr/bin/opera | |
npm t | |
fi |