Skip to content

Upgrade to Userscripter 3.0.0 (#265) #116

Upgrade to Userscripter 3.0.0 (#265)

Upgrade to Userscripter 3.0.0 (#265) #116

Workflow file for this run

name: CI
on:
push:
branches:
- master
jobs:
nightly:
name: CI Build
runs-on: ubuntu-latest
steps:
- name: Set time zone
uses: szenius/[email protected]
with:
timezoneLinux: "Europe/Stockholm"
- uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Install dependencies
run: |
npm ci
- name: Test
run: |
npm test
- name: Lint
run: |
npm run lint
- name: Build
run: |
npm run build
env:
CI: true
USERSCRIPTER_MODE: production
USERSCRIPTER_VERBOSE: true
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: dist