mirror of
https://github.com/scratchfoundation/eslint-config-scratch.git
synced 2025-08-14 15:28:58 -04:00
ci: intial pass at actions config
This commit is contained in:
parent
85602586e4
commit
70fa0e3f55
1 changed files with 26 additions and 0 deletions
26
.github/workflows/deploy.yml
vendored
Normal file
26
.github/workflows/deploy.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
name: Build eslint-config-scratch
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
build-eslint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: wagoid/commitlint-github-action@v5
|
||||
- name: Use Node.js 18
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 18.x
|
||||
- name: Install Dependencies
|
||||
run: npm install
|
||||
- name: Test
|
||||
run: Semantic Release
|
||||
- name: Build
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: npx --no -- semantic-release
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue