Skip to content

Bump @sveltejs/kit from 1.0.0-next.138 to 1.15.1 in /www #30

Bump @sveltejs/kit from 1.0.0-next.138 to 1.15.1 in /www

Bump @sveltejs/kit from 1.0.0-next.138 to 1.15.1 in /www #30

Workflow file for this run

name: CLI
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v1
- name: Setup crystal (Ubuntu)
if: startsWith(matrix.os, 'ubuntu')
run: curl -fsSL https://crystal-lang.org/install.sh | sudo bash
- name: Setup crystal (Mac)
if: startsWith(matrix.os, 'macOS')
run: brew install crystal
- name: Install dependencies
run: cd cli && shards install
- name: Format check
run: cd cli && crystal tool format --check
- name: Ameba (static code analysis)
run: cd cli && bin/ameba
- name: Spec
run: cd cli && crystal spec
- name: Build
env:
OS_NAME: ${{ matrix.os }}
run: |
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/opt/openssl/lib/pkgconfig # for macOS
cd cli
crystal --version
shards build --release
release:
runs-on: ubuntu-latest
needs: build
steps:
- name: Release
if: startsWith(github.ref, 'refs/tags')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
sudo npm install --global release-it
sudo chown -R $USER:$(id -gn $USER) /home/runner/.config
release-it --verbose --ci --no-increment