forked from nikita-petko/RbxDataStoreService
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 1.14 KB
/
test-linux.yml
File metadata and controls
40 lines (34 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Production Test Linux
on:
push:
branches:
- "master"
paths:
- "Source/**"
- ".github/workflows/**"
- "package.json"
- "package-lock.json"
jobs:
production-test-linux:
if: "!contains(toJSON(github.event.commits.*.message), '[SKIP CI]')"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-18.04", "ubuntu-20.04", "ubuntu-latest"]
node: [12, 14, 16]
env:
DEV_TEST: "TRUE"
steps:
- name: Checkout repository.
uses: actions/checkout@v2
- name: Setup the node js environment with version 16.x
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install the lastest node-js types for typescript.
run: npm i --save-dev @types/node
- name: Run the prepare script to update packages and build the project.
run: npm run prepare
- name: Run the tests.js file to test the datastores.
run: node Bin/tests.js "${{ secrets.TOKEN }}" "${{ secrets.PLACEID }}" "${{ secrets.UNIVERSEID }}" "${{ secrets.USERID }}" "${{ secrets.USERNAME }}"