Skip to content

v0.1.3

v0.1.3 #7

Workflow file for this run

name: Release Build
on:
push:
branches:
- master
tags:
- v*
paths-ignore:
- README.md
- .vscode
- .editorconfig
- .gitignore
jobs:
release-build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Save yarn cache location to env
run: echo "YARN_CACHE=$(yarn cache dir)" >> $GITHUB_ENV
- name: Cache node_modules
uses: actions/cache@v3
with:
path: ${{ env.YARN_CACHE }}
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock', '**/package-lock.json') }}
- name: Install dependencies
run: yarn install
- name: Run linter
run: yarn lint
- name: Build
run: yarn build
- name: Run tests
run: yarn test
- name: Create release
uses: Trinovantes/action-automatic-release@master
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
is_prerelease: false