feat: add /guides command and ability to sync all guides to a discord channel #25
Workflow file for this run
  
    
      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: Test | |
| on: | |
| pull_request: | |
| branches: [ "**" ] | |
| paths-ignore: | |
| - 'docs/**' | |
| - '.gitignore' | |
| - 'LICENSE' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| - name: Install dependencies | |
| run: | | |
| if [ -f package-lock.json ]; then | |
| npm ci --no-audit --no-fund | |
| else | |
| npm install --no-audit --no-fund | |
| fi | |
| - name: Lint | |
| run: npm run lint | |
| - name: Build | |
| run: npm run build:ci | |
| env: | |
| DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }} | |
| CLIENT_ID: ${{ secrets.CLIENT_ID }} | |
| - name: Run tests | |
| run: npm run test:ci | |