build(docker): upgrade mysql image and make it support arm and amd ar… #1
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: Lint | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
concurrency: | |
group: lint-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Install yarn | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.18.0 | |
registry-url: 'https://registry.yarnpkg.com' | |
cache: 'yarn' | |
- name: Setup node environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.18.0 | |
cache: 'yarn' | |
- name: Fetch dependencies | |
run: | | |
yarn | |
- name: lint repository | |
run: | | |
yarn lint |