This commit is contained in:
parent
ac8909181d
commit
d3da563574
2 changed files with 3 additions and 19 deletions
|
@ -3,7 +3,8 @@ name: Actions
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- '*'
|
||||
- '!gauntlet/release'
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
@ -25,19 +26,3 @@ jobs:
|
|||
run: yarn install --frozen-lockfile
|
||||
- name: Build plugins
|
||||
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
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
"publish": "gauntlet publish",
|
||||
"build": "gauntlet build",
|
||||
"dev": "gauntlet dev",
|
||||
"lint": "prettier-eslint \"src/**/*.tsx\"",
|
||||
"lint:write": "yarn lint --write"
|
||||
"format": "eslint --fix ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@project-gauntlet/api": "0.12.0",
|
||||
|
|
Loading…
Add table
Reference in a new issue