feat(sync): implemented pinned tab sync with firefox sync engine #3657
Workflow file for this run
This file contains hidden or 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: Code Linter | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| workflow_call: | |
| pull_request: | |
| branches: | |
| - dev | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| if: ${{ !contains(github.event.head_commit.message, '[no-lint]') }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - name: Setup and run autopep8 | |
| if: ${{ contains(join(github.event.commits.*.modified, ' '), '.py') || contains(join(github.event.commits.*.added, ' '), '.py') || contains(join(github.event.commits.*.removed, ' '), '.py') }} | |
| run: | | |
| sudo apt install python3-autopep8 | |
| autopep8 --diff scripts/ src/ | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Lint | |
| run: npm run lint |