Skip to content

remove windows tests #11

remove windows tests

remove windows tests #11

Workflow file for this run

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
- run: tar -czvf logviewer.tar.gz dist
- name: Upload Release
uses: ncipollo/release-action@v1
with:
artifacts: "logviewer.tar.gz"
token: ${{ secrets.GITHUB_TOKEN }}