Skip to content

[Snyk] Security upgrade bootstrap from 5.0.0-beta3 to 5.0.0 #236

[Snyk] Security upgrade bootstrap from 5.0.0-beta3 to 5.0.0

[Snyk] Security upgrade bootstrap from 5.0.0-beta3 to 5.0.0 #236

Workflow file for this run

name: Node.js CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Use Node.js 15
uses: actions/setup-node@v1
with:
node-version: "15"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: Cache dependencies
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install
- name: Lint
run: yarn style:check
build:
needs: lint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Use Node.js 15
uses: actions/setup-node@v1
with:
node-version: "15"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: Cache dependencies
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
env:
APP_TITLE: "Nimiq.link"
DOMAINS: "nmlnk.mrv.wtf"
MAIN_DOMAIN: "nmlnk.mrv.wtf"
HCAPTCHA_SITE_KEY: "df9dcd0d-61a1-4b74-97e8-8407e6ba959e"
ENABLE_HCAPTCHA: "true"
SHORT_LENGTH: "3"
SHORT_CHARACTERS: "abcdefghiklmnpqrstuvwxyz456789"