-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (30 loc) · 883 Bytes
/
ci.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
name: CI
on:
push:
branches: [main]
workflow_dispatch:
permissions: read-all
jobs:
test_actions:
name: Test actions
runs-on: ubuntu-latest
permissions:
contents: 'read'
id-token: 'write'
steps:
- name: Checkout for testing preparation
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- name: Use Node.js current version
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: current
- name: Install package dependencies
run: npm ci
- name: Build the actions
run: npm run build
- name: Test actions for simple action
uses: ./
with:
serviceId: ${{ secrets.RENDER_SERVICE_ID }}
apiKey: ${{ secrets.RENDER_API_KEY }}
multipleDeployment: false #optional, default true