Skip to content

1.0.13

1.0.13 #15

Workflow file for this run

name: Build Project
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the Repository
uses: actions/checkout@v3
- name: Fetch the latest Git tag
uses: little-core-labs/[email protected]
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- name: Install Project Dependencies
run: npm ci
- name: Build
run: npm run build
- name: Create a Release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "./dist/script.user.js,./dist/script.meta.js"
replacesArtifacts: true
omitBody: true
prerelease: false
token: ${{ secrets.GITHUB_TOKEN }}