Skip to content

try and fix this ci #15

try and fix this ci

try and fix this ci #15

Workflow file for this run

name: Dev Release
on:
push:
tags:
- "v*.*.*"
branches:
- main
pull_request:
tags:
- "v*.*.*"
branches:
- '**'
env:
draft: true
jobs:
dev-release:
permissions: write-all
name: Dev Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: '22.8.0'
- name: Get package version
id: package-version
uses: martinbeentjes/[email protected]
- name: Install dependencies
run: npm install
- name: Build files
run: npm run build
- name: Build tarballs
run: npm run pack
- name: Create release
uses: softprops/action-gh-release@v1
with:
draft: ${{ env.draft }}
files: ./dist/*.tar.gz
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}