-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (41 loc) · 939 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
31
32
33
34
35
36
37
38
39
40
41
name: CI
on:
pull_request:
push:
branches: [main]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "16"
- name: Checkout code
uses: actions/checkout@v3
- name: Test downloading plural
uses: ./
with:
config: ${{ secrets.PLURAL_CONF }}
vsn: '0.5.18'
- run: plural --help
test2:
name: Test later versions
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "16"
- name: Checkout code
uses: actions/checkout@v3
- name: Test downloading plural
uses: ./
with:
config: ${{ secrets.PLURAL_CONF }}
vsn: '0.7.0'
- run: plural --help
- run: plural repos list