diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..08cea71f --- /dev/null +++ b/.github/workflows/release.yml @@ -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 +