feat: add authentication password strategy and login (#14) #44
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
actions: read | |
contents: read | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- name: Install rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: rustfmt, clippy | |
- name: Install dependencies | |
run: npm ci | |
# This line is needed for nx affected to work when CI is running on a PR | |
- name: Track origin | |
run: git branch --track main origin/main | |
- name: Setup nx shas | |
uses: nrwl/nx-set-shas@v4 | |
- name: Run code generation | |
run: npx nx run-many --target generate --all | |
# - run: npx nx format:check | |
- name: Lint, test build affected code | |
run: npx nx affected -t lint test buil |