gauntlet-cswimr-plugins/.forgejo/workflows/actions.yaml
cswimr 4bc006d97f
Some checks failed
Actions / Lint Plugins (push) Failing after 13s
Actions / Build Plugins (push) Failing after 15s
switch to yarn, add prettier-eslint, update dependencies
2024-12-22 12:11:24 -05:00

43 lines
976 B
YAML

name: Actions
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build Plugins
runs-on: docker
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build plugins
run: yarn build
lint:
name: Lint Plugins
runs-on: docker
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint plugins
run: yarn lint