feat: compute registry data (#1) #9
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 and build | |
on: [push] | |
jobs: | |
lint-build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
- name: Set up MySQL | |
run: | | |
sudo /etc/init.d/mysql start | |
mysql -e 'CREATE DATABASE checkpoint;' -uroot -proot | |
- run: yarn install | |
- run: yarn lint | |
- run: yarn build | |
env: | |
DATABASE_URL: 'mysql://root:[email protected]:3306/checkpoint' |