-
-
Notifications
You must be signed in to change notification settings - Fork 591
30 lines (30 loc) · 905 Bytes
/
test.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
name: Check skills
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
working-directory: .github/src
- run: node skills.js
working-directory: .github/src
- name: Generate results
run: |
git config --global user.name "Metarhia skill bot"
git config --global user.email "[email protected]"
git add ./Profile ./README.md
git commit -m "Automated skill analysis"
git push