Skip to content

Merge pull request #713 from WPMedia/format_src_fix #40

Merge pull request #713 from WPMedia/format_src_fix

Merge pull request #713 from WPMedia/format_src_fix #40

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Pull request verification
on:
push:
branches: [develop, sandbox, prod]
pull_request:
branches: [develop, sandbox, prod]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
registry-url: https://npm.pkg.github.com
scope: '@wpmedia'
- run: npm install && npm run ci
env:
CI: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}