Skip to content

Update action dependencies #45

Update action dependencies

Update action dependencies #45

Workflow file for this run

name: Continuous integration
on: [push, pull_request]
jobs:
test-push:
runs-on: ubuntu-latest
strategy:
matrix:
node: [14, 16, 18]
steps:
- uses: actions/checkout@v3.6.0
- uses: actions/setup-node@v3.8.2
with:
node-version: ${{ matrix.node }}
- run: npx pnpm i
- run: npm run lint
- run: npm run test
- run: npm run build
build:
runs-on: ubuntu-latest
needs: test-push
steps:
- uses: actions/checkout@v3.6.0
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-node@v3.8.2
with:
node-version: 14
- run: npx pnpm i
- run: npm run build
- name: Commit & Push changes
uses: actions-js/push@v1.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: 'main'