Skip to content

1.2.4-alpha.2

1.2.4-alpha.2 #115

Workflow file for this run

name: release
on:
push:
branches:
- master
jobs:
package-release:
# needs: test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
name: npm upload
steps:
- uses: actions/checkout@v3
- name: setup
uses: actions/setup-node@v3
with:
node-version: "16"
- name: cache
uses: actions/cache@v3
with:
path: |
node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: upload
run: |
yarn install
yarn run build
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
npm publish || true