-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (32 loc) · 836 Bytes
/
nodejs.yml
File metadata and controls
32 lines (32 loc) · 836 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
name: Node CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Lint
run: |
yarn install
yarn lint
- name: Test
env:
BAMBORA_API_KEY: ${{ secrets.BAMBORA_API_KEY }}
MAILGUN_ACCESS_TOKEN:
${{ secrets.MAILGUN_ACCESS_TOKEN }}
MAILGUN_DOMAIN: ${{ secrets.MAILGUN_DOMAIN }}
PRIVATE_BUCKET: ${{ secrets.PRIVATE_BUCKET }}
PUBLIC_BUCKET: ${{ secrets.PUBLIC_BUCKET }}
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
S3_SECRET: ${{ secrets.S3_SECRET }}
run: yarn test