Skip to content

Use setup-node@v3, cache dependencies #2

Use setup-node@v3, cache dependencies

Use setup-node@v3, cache dependencies #2

Workflow file for this run

name: Run checks
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'npm'
- name: Check formatting
run: npm run fmt:check
test-action:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'npm'
- name: Test local action
uses: ./
- run: snforge --init myproject
- run: snforge