refactor: improve user cache management and password migration #824
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: Build Test | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - '*' | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [ 18.x ] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Use Golang | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: '1.20' | |
| - name: Build Backend | |
| run: | | |
| go build . | |
| - name: Use Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Build Frontend | |
| run: | | |
| cd app | |
| npm install -g pnpm | |
| pnpm install | |
| pnpm build | |
| - name: Upload a Build Artifact | |
| uses: actions/upload-artifact@v4.0.0 | |
| with: | |
| name: Build result | |
| path: app/dist |