Skip to content

build(deps-dev): bump typescript from 5.6.3 to 5.7.2 (#44) #145

build(deps-dev): bump typescript from 5.6.3 to 5.7.2 (#44)

build(deps-dev): bump typescript from 5.6.3 to 5.7.2 (#44) #145

Workflow file for this run

name: build
on: [push, pull_request]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- name: Install dependencies
run: npm install --prefer-offline
- name: Set environment variables
run: |
echo "URL=$(jq -r .homepage package.json)" >> $GITHUB_ENV
- name: Build
run: npm run build -- --public-url ${{ env.URL }}
- name: Deploy
if: github.ref_name == 'master'
uses: remarkablemark/gitploy-action@v1
with:
directory: dist