mirror of https://github.com/Wilfred/difftastic/
37 lines
663 B
YAML
37 lines
663 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [lts/*]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- run: npm ci
|
|
|
|
- name: build
|
|
run: npm run build:wasm
|
|
|
|
- name: release
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
fail_on_unmatched_files: true
|
|
generate_release_notes: true
|
|
files: |
|
|
*.wasm
|