Skip to content

Merge pull request #5 from reedsy/vuex4 #19

Merge pull request #5 from reedsy/vuex4

Merge pull request #5 from reedsy/vuex4 #19

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
- name: Install
# Skip post-install to avoid malicious scripts stealing PAT
run: npm ci --legacy-peer-deps
- name: Test
run: npm test
- name: Tag
if: ${{ github.ref == 'refs/heads/main' }}
run: ./release.sh
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}