-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (46 loc) · 1.19 KB
/
pipeline.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
42
43
44
45
46
47
48
name: Build
run-name: ${{ github.actor }} is testing out github actions
# permissions:
# actions: read
# checks: read
# contents: read
# deployments: read
# id-token: write
# issues: read
# discussions: read
# packages: read
# pages: read
# pull-requests: read
# repository-projects: read
# security-events: read
# statuses: read
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run a one-line script
run: echo Hello, world!
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your projectss
- name: Setup node
uses: actions/setup-node@v3
- name: Install
run: npm ci
- name: Build
run: npm run package
# - name: 'Az CLI login'
# uses: azure/login@v1
# with:
# client-id: ${{ secrets.AZURE_CLIENT_ID }}
# tenant-id: ${{ secrets.AZURE_TENANT_ID }}
# subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
# - name: 'Run Azure CLI commands'
# run: az account show
- name: 'Custom Task running'
uses: ./
with:
repo-token: ${{ secrets.MY_GITHUB_PAT}}