-
-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (26 loc) · 689 Bytes
/
node.yml
File metadata and controls
29 lines (26 loc) · 689 Bytes
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
name: Node.js CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 19.x
uses: actions/setup-node@v3
with:
node-version: '19.x'
- name: Install GhostScript
run: sudo apt-get install -y ghostscript
- name: Install Yarn globally
run: npm install --global yarn
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn test
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}