Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Bump the github-actions group across 1 directory with 3 updates #861

Bump the github-actions group across 1 directory with 3 updates

Bump the github-actions group across 1 directory with 3 updates #861

Workflow file for this run

name: CI
on: pull_request
defaults:
run:
shell: bash
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20.x'
- run: npm install
- run: npm run lint
- run: npx knip
test:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20.x'
- run: npm install
- run: npm run build
- run: npm test
- run: npm prune --production
- run: |
export BOT_AUTH_TOKEN=secret
for i in dist/functions/*.js; do
node $i;
done