1.0.14 #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} | |