Create release.yml
This commit is contained in:
1 parent
043a0e5301
commit
beb607a2d0
1 file changed
+30
@@ -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
|
||||
|
||||
Reference in new issue
Block a user