Bump vite from 2.9.17 to 2.9.18 #10
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: 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 http://repo.calcit-lang.org/binaries/linux/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/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/[email protected] | |
env: | |
DEPLOY_KEY: ${{secrets.rsync_private_key}} | |
with: | |
flags: '-avzr --progress' | |
options: '' | |
ssh_options: '' | |
src: 'dist/*' | |
dest: '[email protected]:/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/[email protected] | |
env: | |
DEPLOY_KEY: ${{secrets.rsync_private_key}} | |
with: | |
flags: '-avzr --progress' | |
options: '' | |
ssh_options: '' | |
src: 'dist-server/*' | |
dest: '[email protected]:/servers/dom-builder/' | |
- name: Display status from deploy | |
run: echo "${{ steps.deploy-server.outputs.status }}" |