pokemon-showdown-client/.github/workflows/test.yml
Guangcong Luo d84727f101
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
Update GitHub Actions config
This makes it better match the server config.
2025-04-12 18:14:30 -07:00

32 lines
730 B
YAML

# This workflow will do an install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run test
env:
CI: true