Skip to content

cannon: Make crosshair sea blue when out of ammo #132

cannon: Make crosshair sea blue when out of ammo

cannon: Make crosshair sea blue when out of ammo #132

Workflow file for this run

name: ESLint and unit tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
lint:
strategy:
matrix:
node-version: [21.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm i --global pnpm
pnpm i
- name: Lint
run: |
pnpm lint
test:
strategy:
matrix:
node-version: [21.x]
runs-on: ubuntu-latest
needs: [lint]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm i --global pnpm
pnpm i
- name: Test
run: |
pnpm test