Skip to content

ci: fix release workflow #1

ci: fix release workflow

ci: fix release workflow #1

Workflow file for this run

name: Build and Release
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "16.x"
- name: Install dependencies
run: npm install
- name: TypeScript
run: npm run typescript
- name: Test
run: npm run test
- name: Bundle
run: npm run build
- name: Release
uses: softprops/action-gh-release@v1
with:
name: ${{ github.ref_name }}
tag_name: ${{ github.ref }}
files: |
main.js
manifest.json
styles.css