testtest/.github/workflows/main.yml
AlexVeeBee 30ce160b8f
Some checks failed
node-js / Test (14.x) (push) Failing after 18s
Did something
2024-02-27 00:32:49 +00:00

43 lines
930 B
YAML

name: node-js
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
permissions:
contents: write
jobs:
build:
name: Test
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- run: npm test
- name: Publish to release
uses: softprops/action-gh-release@v1
with:
files: dist/*
token: ${{ secrets.GITHUB_TOKEN }}
body: |
Changes in this Release
- Added new feature
- Fixed some bugs
draft: false
prerelease: false
tag: v1.0.0