Skip to content

[Snyk] Security upgrade argon2 from 0.27.1 to 0.27.2 #230

[Snyk] Security upgrade argon2 from 0.27.1 to 0.27.2

[Snyk] Security upgrade argon2 from 0.27.1 to 0.27.2 #230

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"