Skip to content

chore(deps): update actions/setup-node action to v4 (#19) #33

chore(deps): update actions/setup-node action to v4 (#19)

chore(deps): update actions/setup-node action to v4 (#19) #33

Workflow file for this run

name: GLuaLint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 12
uses: actions/setup-node@v4
with:
node-version: 12
- name: npm for Lua lint
run: |
export PATH=$PATH:/tmp/bin
mkdir -p /tmp/bin
pushd /tmp/bin
wget -q https://github.com/FPtje/GLuaFixer/releases/download/1.17.3/glualint-1.17.3-linux-stripped.zip -O glualint.zip
unzip glualint.zip
chmod +x glualint
popd
echo "Running linter..."
node gluaLintEx.js
env:
CI: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}