diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 29f37c6d..7f45bf8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,17 +9,23 @@ jobs: name: Continuous integration runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup Node - uses: actions/setup-node@v3 + - + name: Checkout + uses: actions/checkout@v4 + - + name: Setup Node + uses: actions/setup-node@v4 with: node-version: 'current' - - name: Install dependencies + - + name: Install dependencies run: yarn install - - name: Check build + - + name: Check build run: yarn build - - name: Check coding standards + - + name: Check coding standards run: yarn lint - - name: Run tests + - + name: Run tests run: yarn test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f700b2ad..4dccfb14 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,22 +10,29 @@ jobs: name: Create and publish a release runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup Node - uses: actions/setup-node@v3 + - + name: Checkout + uses: actions/checkout@v4 + - + name: Setup Node + uses: actions/setup-node@v4 with: node-version: 'current' registry-url: https://registry.npmjs.org - - name: Install dependencies + - + name: Install dependencies run: yarn install - - name: Check build + - + name: Check build run: yarn build - - name: Check coding standards + - + name: Check coding standards run: yarn lint - - name: Run tests + - + name: Run tests run: yarn test - - name: Publish to npm + - + name: Publish to npm run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}