Create release.yml

This commit is contained in:
Brahim Hadriche authored and GitHub committed 2023-02-10 20:56:36 -05:00
1 parent 043a0e5301
commit beb607a2d0
1 file changed
+30
+30
View File
@@ -0,0 +1,30 @@
name: Release
on:
push:
branches: [ "main" ]
jobs:
lint:
uses: iBicha/playlet/blob/main/.github/workflows/lint.yml@lint
release:
runs-on: ubuntu-latest
needs: ['lint']
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build Playlet
run: npm run build:release:ci