feat: add support for Remix Auth v4 (#82) #350
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: ⚙️ Workflow | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
permissions: | |
actions: write | |
contents: read | |
jobs: | |
build: | |
name: 🏗 Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install Dependencies | |
uses: bahmutov/[email protected] | |
with: | |
useLockFile: false | |
install-command: npm install | |
- name: Run Build | |
run: npm run build | |
lint: | |
name: ⬣ ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install Dependencies | |
uses: bahmutov/[email protected] | |
with: | |
useLockFile: false | |
install-command: npm install | |
- name: Run Lint | |
run: npm run lint | |
typecheck: | |
name: ʦ TypeScript | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install Dependencies | |
uses: bahmutov/[email protected] | |
with: | |
useLockFile: false | |
install-command: npm install | |
- name: Run Typecheck | |
run: npm run typecheck --if-present | |
vitest: | |
name: ⚡ Vitest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install Dependencies | |
uses: bahmutov/[email protected] | |
with: | |
useLockFile: false | |
install-command: npm install | |
- name: Run Vitest | |
run: npm run test |