Skip to content

hides unnecessary rewards #3060

hides unnecessary rewards

hides unnecessary rewards #3060

Workflow file for this run

name: NodeJS with Webpack
on:
push:
branches:
- 'main'
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache
uses: actions/[email protected]
with:
path: ~/.npm
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
- run: npm install -y
# - run: npm run format
# - name: Commit changes
# uses: stefanzweifel/git-auto-commit-action@v4
# with:
# commit_message: auto format
# branch: ${{ github.head_ref }}
- name: Lint
run: npm run lint
- name: Build
run: npm run build