Bump web-ext from 7.12.0 to 8.2.0 in /src #13
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: Develop CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ develop ] | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: [ develop ] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- run: npm install --ignore-scripts | |
working-directory: src | |
- run: npm run web-ext lint -- --ignore-files=package*.json | |
working-directory: src | |
- name: Check for uncommited changes | |
run: | | |
if [[ "$(git status --porcelain)" != "" ]]; then | |
echo ---------------------------------------- | |
echo git status | |
echo ---------------------------------------- | |
git status | |
echo ---------------------------------------- | |
echo git diff | |
echo ---------------------------------------- | |
git diff | |
echo ---------------------------------------- | |
echo Troubleshooting | |
echo ---------------------------------------- | |
echo "::error::Unstaged changes detected. Locally try running: git clean -ffdx && npm ci && npm install" | |
exit 1 | |
fi |