Skip to content

npm audit (#54)

npm audit (#54) #185

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- name: Install
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Commit build
if: github.ref == 'refs/heads/master'
uses: EndBug/add-and-commit@v9
with:
add: 'build'
message: 'Add build code'
tag: 'v2 --force'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v3