Skip to content

Bump vite from 3.0.9 to 3.2.7 #17

Bump vite from 3.0.9 to 3.2.7

Bump vite from 3.0.9 to 3.2.7 #17

Workflow file for this run

name: Try to upload
on:
push:
branches:
- main
pull_request: {}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
name: Cache node modules of yarn
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: ACTIONS_ALLOW_UNSECURE_COMMANDS
id: ACTIONS_ALLOW_UNSECURE_COMMANDS
run: echo 'ACTIONS_ALLOW_UNSECURE_COMMANDS=true' >> $GITHUB_ENV
- name: add cr
run: |
mkdir -p $GITHUB_WORKSPACE/bin
wget -O $GITHUB_WORKSPACE/bin/cr https://github.com/calcit-lang/calcit/releases/download/0.6.4/cr
chmod +x $GITHUB_WORKSPACE/bin/cr
echo "::add-path::$GITHUB_WORKSPACE/bin"
- name: "prepare modules"
run: >
mkdir -p ~/.config/calcit/modules/ && cd ~/.config/calcit/modules/
&& git clone https://github.com/calcit-lang/lilac.git
&& git clone https://github.com/calcit-lang/memof.git
&& git clone https://github.com/calcit-lang/recollect.git
&& git clone https://github.com/Respo/respo.calcit.git
&& git clone https://github.com/Respo/respo-ui.calcit.git
&& git clone https://github.com/Respo/respo-message.calcit.git
&& git clone https://github.com/Cumulo/cumulo-util.calcit.git
&& git clone https://github.com/Cumulo/cumulo-reel.calcit.git
&& git clone https://github.com/mvc-works/ws-edn.calcit.git
&& git clone https://github.com/Respo/respo-feather.calcit.git
&& git clone https://github.com/Respo/respo-markdown.calcit.git
&& git clone https://github.com/Respo/alerts.calcit.git
&& git clone https://github.com/calcit-lang/calcit-wss.git
&& git clone https://github.com/calcit-lang/calcit.std.git
- run: cr --entry server --emit-ir -1
- run: yarn && yarn compile-page && yarn release-page
- run: mkdir -p dist-server && cp compact.cirru dist-server && cp package.json dist-server/
name: Copy server scripts
- name: Upload web assets
id: deploy
uses: Pendect/action-rsyncer@v1.1.0
env:
DEPLOY_KEY: ${{secrets.rsync_private_key}}
with:
flags: '-avzr --progress'
options: ''
ssh_options: ''
src: 'dist/*'
dest: 'rsync-user@tiye.me:/web-assets/repo/${{ github.repository }}'
- name: Display status from deploy
run: echo "${{ steps.deploy.outputs.status }}"
- name: Upload server script
id: deploy-server
uses: Pendect/action-rsyncer@v1.1.0
env:
DEPLOY_KEY: ${{secrets.rsync_private_key}}
with:
flags: '-avzr --progress'
options: ''
ssh_options: ''
src: 'dist-server/*'
dest: 'rsync-user@tiye.me:/servers/paste-sharing/'
- name: Display status from deploy
run: echo "${{ steps.deploy-server.outputs.status }}"