You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
617 B
28 lines
617 B
7 months ago
|
name: JavaScript
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: ['main']
|
||
|
paths: ['codes/javascript/**/*.js']
|
||
|
pull_request:
|
||
|
branches: ['main']
|
||
|
paths: ['codes/javascript/**/*.js']
|
||
|
workflow_dispatch:
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
strategy:
|
||
|
matrix:
|
||
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
- uses: actions/setup-node@v4
|
||
|
with:
|
||
|
node-version: 20.x
|
||
|
- uses: denoland/setup-deno@v1
|
||
|
with:
|
||
|
deno-version: v1.x
|
||
|
- name: Run JavaScript Code
|
||
|
run: deno run -A codes/javascript/test_all.js
|