Skip to content

Merge pull request #26 from kaoet/dependabot/npm_and_yarn/elliptic-6.6.0 #53

Merge pull request #26 from kaoet/dependabot/npm_and_yarn/elliptic-6.6.0

Merge pull request #26 from kaoet/dependabot/npm_and_yarn/elliptic-6.6.0 #53

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: main
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
gh-pages:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- run: npm install
- run: npm run build
- run: rm dist/Cargo.*.toml
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
force_orphan: true