Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

chore(build): Update dependency for test workflow #30

chore(build): Update dependency for test workflow

chore(build): Update dependency for test workflow #30

Workflow file for this run

name: Publish NPM Package
on:
push:
branches: [master]
jobs:
test:
name: Test
uses: ./.github/workflows/tests.yml
secrets: inherit
publish-npm:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
- name: Build commonjs, es6, esnext and amd
run: |
yarn build:cjs
yarn build:es
yarn build:types
- name: Publish to npm
run: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}