chore(deps): update dependency @sapphire/eslint-config to v5 - autoclosed #280
Workflow file for this run
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: general tests" | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
jobs: | |
Dependencies: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- name: Install Node v18 | |
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn install --immutable | |
Building: | |
runs-on: ubuntu-latest | |
needs: Dependencies | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- name: Install Node v18 | |
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Run Compiler | |
run: yarn run build | |
Linting: | |
runs-on: ubuntu-latest | |
needs: Dependencies | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- name: Install Node v18 | |
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Run Eslint | |
run: yarn run lint | |
# Testing: | |
# runs-on: ubuntu-latest | |
# needs: Dependencies | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3 | |
# - name: Install Node v18 | |
# uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3 | |
# with: | |
# node-version: 18 | |
# cache: yarn | |
# - name: Install Dependencies | |
# run: yarn install --immutable | |
# - name: Run Vitest | |
# run: yarn run test |