Skip to content

Commit 4c47011

Browse files
committed
ci: better test worflow
1 parent 9dce8b5 commit 4c47011

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@ name: test
22

33
on:
44
push:
5-
branches: [main]
6-
pull_request:
7-
branches: [main]
5+
paths-ignore:
6+
- 'docs/**'
87

98
jobs:
109
build:
1110
runs-on: ubuntu-latest
1211

1312
steps:
1413
- uses: actions/checkout@v2
15-
- uses: bahmutov/npm-install@v1
14+
- uses: actions/setup-node@v2
15+
with:
16+
node-version: '14'
17+
cache: 'yarn'
18+
19+
- run: yarn install --frozen-lockfile
1620
- run: yarn run test
1721
- run: yarn codecov

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020 Eduardo San Martin Morote
3+
Copyright (c) 2021 Eduardo San Martin Morote
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)