-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (33 loc) · 960 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
name: CI
on:
push:
jobs:
release-notes:
name: Release notes preview
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main'
steps:
- uses: open-turo/actions-release/release-notes-preview@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
NPM_TOKEN: ${{ secrets.OPEN_TURO_NPM_TOKEN }}
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Download actionlint
run: |
mkdir -p "$HOME/bin"
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) latest "$HOME/bin"
echo "${HOME}/bin" >> "$GITHUB_PATH"
- uses: open-turo/actions-node/lint@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
test:
runs-on: ubuntu-latest
name: Test
steps:
- uses: open-turo/actions-node/test@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}