-
Notifications
You must be signed in to change notification settings - Fork 22
32 lines (29 loc) · 824 Bytes
/
build.yml
File metadata and controls
32 lines (29 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Build and Release
permissions: write-all # there is unfortunately no permission for releases.
on:
push:
branches: [ master ]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: setup node.js 19
uses: actions/setup-node@v3
with:
node-version: 19
- name: install dependencies
run: yarn install
- name: build
run: yarn build
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest
prerelease: true
title: Latest build
files: |
dist/placenl-userscript.user.js
placenl-userscript-autoupdater.user.js