-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (40 loc) · 1.08 KB
/
ci.yml
File metadata and controls
49 lines (40 loc) · 1.08 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
41
42
43
44
45
46
47
48
49
name: CI
on:
pull_request:
branches: [main]
jobs:
# "build" is the name of the "check" you can add to "Require status checks to pass"
build:
runs-on: ubuntu-latest
steps:
- run: echo "Building ..."
# "test" is the name of the "check" you can add to "Require status checks to pass"
test:
needs: build
runs-on: ubuntu-latest
steps:
# This uses the actions/checkout action to clone your repository.
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
# sets up the specified Node version, and
node-version: 22.x
# caches npm dependencies to speed up the workflow.
cache: 'yarn'
- name: Run Bash script
run: |
chmod 777 ./ci && ./ci
shell: bash
#- name: Install dependencies
# run: yarn install --immutable
#- name: Run unit-tests
# run: yarn test:ci
# deploy:
# needs: test
# runs-on: ubuntu-latest
#
# steps:
#
# - run: echo "Deploying ..."