forked from decred/decrediton
-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (34 loc) · 927 Bytes
/
nodejs.yml
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
name: Build and Test
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #v3.5.2
- name: Set up Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 #v3.5.0
with:
go-version: '1.20'
- name: Use nodejs ${{ matrix.node-version }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c #v3.6.0
with:
node-version: ${{ matrix.node-version }}
- name: yarn
run: yarn --network-concurrency 1
- name: linter checks
run: yarn lint
- name: prettify diff
run: yarn prettify:diff
- name: tests
run: yarn test
env:
CI: true
- name: build
run: yarn build
- name: check i18n dupes
run: yarn i18n-check-dupes