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