diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b71ef15..b3a507c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,25 +3,25 @@ name: Publish on: push: branches: - - master + - main jobs: build-and-publish: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 12 + node-version: 18 registry-url: https://registry.npmjs.org/ - name: Install dependencies run: npm install - name: Lint code run: npm run lint -# - name: Run tests -# run: npm run test + # - name: Run tests + # run: npm run test - name: Build library run: npm run build - name: Generate documentation diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index ca2f88e..c58b9c0 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -9,18 +9,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 12 + node-version: 18 registry-url: https://registry.npmjs.org/ - name: Install dependencies run: npm install - name: Lint code run: npm run lint -# - name: Run tests -# run: npm run test + # - name: Run tests + # run: npm run test - name: Build library run: npm run build - name: Generate documentation