-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 994 Bytes
/
node.js.yml
File metadata and controls
33 lines (33 loc) · 994 Bytes
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
name: build
on: push
jobs:
build:
name: my job
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [12]
steps:
- name: My first step
env:
MY_VAR: Hi there! My name is
FIRST_NAME: Chad
MIDDLE_NAME: Michael
LAST_NAME: Crowell
run: |
echo $MY_VAR $FIRST_NAME $MIDDLE_NAME $LAST_NAME.
- name: My second step
if: success()
run: echo "The previous step has finished successfully"
- name: My third step
uses: actions/checkout@v1
with:
node-version: 12
registry-url: https://npm.pkg.github.com/ # if your publishing your package to npm or github package repo
- name: my fourth step
uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Message that will be displayed on users first issue'
pr-mressage: 'Message that will be displayed on users first pr'