Skip to content

[wip] .gitignore updates #24

[wip] .gitignore updates

[wip] .gitignore updates #24

Workflow file for this run

name: Build
on:
push: {}
pull_request:
types: [opened, reopened]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x.x'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- name: Install deps
run: |
npm ci
- name: Build and test
run: |
npm run dist
- name: Publish
if: ${{github.ref == 'refs/heads/master'}}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm publish