2020-12-20 06:01:10 +09:00
|
|
|
name: CI
|
|
|
|
on: [push, pull_request]
|
2022-06-09 10:08:19 +09:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2020-12-20 06:01:10 +09:00
|
|
|
jobs:
|
2021-07-31 20:29:31 +09:00
|
|
|
test:
|
|
|
|
name: Test
|
2020-12-20 06:01:10 +09:00
|
|
|
runs-on: ubuntu-latest
|
2021-07-31 20:29:31 +09:00
|
|
|
|
2020-12-20 06:01:10 +09:00
|
|
|
steps:
|
2021-07-31 20:29:31 +09:00
|
|
|
- name: Checkout repository
|
2023-09-04 21:51:59 +09:00
|
|
|
uses: actions/checkout@v4
|
2023-04-28 18:42:19 +09:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2021-07-31 20:29:31 +09:00
|
|
|
|
2023-01-09 01:35:08 +09:00
|
|
|
- name: Use Node.js 18 LTS
|
2022-04-02 22:55:47 +09:00
|
|
|
uses: actions/setup-node@v3
|
2020-12-20 06:01:10 +09:00
|
|
|
with:
|
2023-01-09 01:35:08 +09:00
|
|
|
node-version: '18'
|
2021-07-31 20:29:31 +09:00
|
|
|
|
|
|
|
- name: Install Gulp
|
|
|
|
run: npm install -g gulp-cli
|
|
|
|
|
|
|
|
- name: Install other dependencies
|
2023-04-23 19:40:28 +09:00
|
|
|
run: npm install
|
2021-07-31 20:29:31 +09:00
|
|
|
|
|
|
|
- name: Run tests
|
2021-08-27 23:07:07 +09:00
|
|
|
run: gulp ci-test
|