fix workflow
All checks were successful
Actions / Build Plugins (push) Successful in 29s

This commit is contained in:
cswimr 2024-12-23 01:32:23 -05:00
parent ac8909181d
commit d3da563574
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
2 changed files with 3 additions and 19 deletions

View file

@ -3,7 +3,8 @@ name: Actions
on: on:
push: push:
branches: branches:
- main - '*'
- '!gauntlet/release'
pull_request: pull_request:
branches: branches:
- main - main
@ -25,19 +26,3 @@ jobs:
run: yarn install --frozen-lockfile run: yarn install --frozen-lockfile
- name: Build plugins - name: Build plugins
run: yarn build run: yarn build
lint:
name: Lint Plugins
runs-on: docker
container: www.coastalcommits.com/cswimr/actions:yarn
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

View file

@ -4,8 +4,7 @@
"publish": "gauntlet publish", "publish": "gauntlet publish",
"build": "gauntlet build", "build": "gauntlet build",
"dev": "gauntlet dev", "dev": "gauntlet dev",
"lint": "prettier-eslint \"src/**/*.tsx\"", "format": "eslint --fix ."
"lint:write": "yarn lint --write"
}, },
"dependencies": { "dependencies": {
"@project-gauntlet/api": "0.12.0", "@project-gauntlet/api": "0.12.0",