Skip to content

fix: error on post with erotics > 1 #18

fix: error on post with erotics > 1

fix: error on post with erotics > 1 #18

Workflow file for this run

# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
make-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: cp src/meta.user.js build/ap-vk-poster.meta.js
- name: Get version
id: version
uses: notiz-dev/github-action-json-property@release
with:
path: package.json
prop_path: version
- name: Create Release
# You may pin to the exact commit or the version.
# uses: ncipollo/release-action@10c84d509b28aae3903113151bfd832314964f2e
uses: ncipollo/release-action@v1.8.8
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: v${{ steps.version.outputs.prop }}-${{ github.run_number }}
name: release v${{ steps.version.outputs.prop }}-${{ github.run_number }}
artifacts: build/*
artifactErrorsFailBuild: true