testtest/.github/workflows/main.yml

28 lines
531 B
YAML
Raw Normal View History

2024-02-27 00:15:12 +00:00
name: node-js
2024-02-26 23:51:21 +00:00
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
permissions:
contents: write
jobs:
2024-02-27 00:07:37 +00:00
build:
name: Test
2024-02-27 00:13:37 +00:00
runs-on: ubuntu-20.04
2024-02-26 23:51:21 +00:00
strategy:
matrix:
2024-02-27 00:15:12 +00:00
node-version: [14.x]
2024-02-26 23:51:21 +00:00
steps:
2024-02-27 00:09:09 +00:00
- uses: actions/checkout@v4
2024-02-27 00:15:12 +00:00
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
2024-02-27 00:09:09 +00:00
with:
2024-02-27 00:15:12 +00:00
node-version: ${{ matrix.node-version }}