forked from trivago/prettier-plugin-twig-melody
-
-
Notifications
You must be signed in to change notification settings - Fork 6
44 lines (34 loc) · 982 Bytes
/
ci.yaml
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
name: Test
on:
push:
branches:
- master
pull_request:
env:
NODE_OPTIONS: --experimental-vm-modules
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node_version: [ 18, 20, 22 ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: "yarn"
- name: Install Dependencies
run: yarn install
- name: Can load prettier plugin properly
run: yarn prettier --version
- name: Run linter
run: yarn lint
- name: Run Test
run: yarn test
- name: Run smoke test
run: yarn test-smoke